Commit Graph
473 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 2636c2090d Renamed MHD flags: do not print deprecation messages for some time. 2016-11-08 19:22:02 +03:00
Evgeny Grin (Karlson2k) c39f9bfb26 Specify that flag MHD_USE_INTERNAL_POLLING_THREAD is mandatory if MHD_USE_THREAD_PER_CONNECTION is used 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) fdf24fa69f Fixed descriptions in comments 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) a48ca85fb7 Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +03:00
Evgeny Grin (Karlson2k) 45dabc9d25 Removed outdated note from description comment. 2016-11-07 17:39:27 +03:00
Evgeny Grin (Karlson2k) 959d55ec5e Renamed MHD flags. Now all flags are in forms MHD_USE_* or MHD_ALLOW_*. 2016-11-07 17:08:03 +03:00
Christian Grothoff d7392e0882 all flags start with MHD_USE_, rename MHD_ALLOW_UPGRADE to MHD_USE_UPGRADE for consistency 2016-11-04 17:02:56 +01:00
Evgeny Grin (Karlson2k) 90086f0531 Added MHD_FEATURE_TLS with as synonym for MHD_FEATURE_SSL. 2016-11-03 16:51:52 +03:00
Evgeny Grin (Karlson2k) 7055ebd931 Added MHD_FEATURE_UPGRADE for MHD_is_feature_supported() 2016-11-03 16:49:24 +03:00
Evgeny Grin (Karlson2k) cbd9376691 'Upgrade' connections: simplify daemon options 2016-11-02 12:21:06 +03:00
Evgeny Grin (Karlson2k) 63abb11b52 Reworked "upgraded" closure logic: resources deallocated and sockets are closed
asynchronously only in daemon's thread and only when all data was forwarded and
application signaled about upgraded closure.
2016-10-30 18:49:45 +03:00
Evgeny Grin (Karlson2k) d528519166 Added support for suspending connection in thread-per-connection mode 2016-10-27 22:45:00 +03:00
Christian Grothoff 36d3808c1e clean up leftovers in upgrade documentation 2016-10-17 10:16:42 +02:00
Christian Grothoff 5b2a9f1cbd improve upgrade documentation to clarify what the application can or cannot do on the socket 2016-10-16 15:06:43 +02:00
Christian Grothoff 06867e0f11 do not deprecate so quickly, otherwise we get compilation issues 2016-10-12 22:25:52 +02:00
Christian Grothoff ef7fe75ff2 deprecate USE_SSL for USE_TLS, rename in code 2016-10-11 16:09:17 +00:00
Christian Grothoff a90ba78c01 deprecate USE_SSL for USE_TLS 2016-10-11 16:08:34 +00:00
Evgeny Grin (Karlson2k) dc5610c14b Updated ChangeLog and bimped version patchlevel. 2016-10-11 15:21:38 +00:00
Evgeny Grin (Karlson2k) 984e0e964e Rename 'MHD_USE_PIPE_FOR_SHUTDOWN' -> 'MHD_USE_ITC' to reflect real meaning of option 2016-10-11 15:21:32 +00:00
Christian Grothoff 4acefd453f simplify error handling by baking it into the macros 2016-09-22 09:25:18 +00:00
Evgeny Grin (Karlson2k) 0396eb2fc2 Added autoconf macro for maximum platform features. 2016-09-13 19:23:30 +00:00
Christian Grothoff c073888899 -add back Martin's fix, he was right 2016-09-06 19:31:25 +00:00
Christian Grothoff 58b3056ca8 -document better how to use MHD_resume_connection() with external event loop 2016-09-04 15:51:15 +00:00
Christian Grothoff 3281308ec1 also add tests for external select/epoll for connection upgrades 2016-09-04 15:16:58 +00:00
Christian Grothoff 64c6b9904a -fixing the FLUSH problem nicely 2016-09-04 10:44:08 +00:00
Christian Grothoff 6fa19ae05f implementing 'Connection: upgrade' for thread-per-connection modes, but untested 2016-09-03 09:56:30 +00:00
Christian Grothoff b7a393fac8 -reverting SVN 37849 2016-09-01 18:17:43 +00:00
Martin Schanzenbach 8269477acc fix memory corruption 2016-08-30 23:02:07 +00:00
Christian Grothoff b6ac5b9f8e -theoretically finishing epoll() + HTTPS-based connection upgrade logic 2016-08-28 23:09:44 +00:00
Christian Grothoff 11171dc8c5 documenting upgrade API in manual 2016-08-27 19:31:32 +00:00
Christian Grothoff e0a43cb194 sketching support for upgrade handling 2016-08-27 18:08:00 +00:00
Christian Grothoff 63eb4c75a3 -fix @file 2016-08-27 17:08:39 +00:00
Christian Grothoff a63de8b17d -releasing 0.9.51 2016-08-27 17:06:24 +00:00
Christian Grothoff 2669ca22a4 sketching how I envision handling Upgrade 2016-08-26 21:15:34 +00:00
Christian Grothoff a0dcd1ab1b -indentation, ideas for upgrade API 2016-08-26 20:19:29 +00:00
Evgeny Grin (Karlson2k) cd030ca9ca epoll is now supported on non-Linux platforms (namely illumos).
Renamed MHD options and updated documentation.
2016-08-24 15:02:16 +00:00
Evgeny Grin (Karlson2k) f588bc469e Bumped MHD_VERSION and updated ChangeLog. 2016-08-23 20:13:35 +00:00
Evgeny Grin (Karlson2k) 47bfec25d8 Moved generic emulated functions to mhd_compat.h/.c, removed "platform" dir,
removed "w32functions.h/.c"
2016-08-23 20:13:03 +00:00
Evgeny Grin (Karlson2k) 558572ec73 Moved pipe/socketpair to separate mhd_itc.h/.c files. 2016-08-23 20:12:56 +00:00
Evgeny Grin (Karlson2k) 50bbf74d4e Moved sockets abstraction to specialized mhd_socket.h/.c files 2016-08-23 20:12:50 +00:00
Christian Grothoff e1257548da fixing crash bug, connection-limit bug and documenting connection-limit behavior better 2016-08-15 11:13:50 +00:00
Evgeny Grin (Karlson2k) 5957e145cb Updated ChangeLog, bump build version 2016-08-10 13:52:54 +00:00
Evgeny Grin (Karlson2k) 40b07cc645 Moved locks and mutex abstraction to mhd_locks.h
Minor refactoring to allow better code optimization.
2016-08-10 13:52:51 +00:00
Evgeny Grin (Karlson2k) a7029c10cc configure.ac: added --disable-thread-names parameter 2016-08-10 13:52:47 +00:00
Evgeny Grin (Karlson2k) e18185c55f Moved thread abstraction to mhd_threads.h/mhd_threads.c,
minor bugs fixed.
2016-08-10 13:52:38 +00:00
Evgeny Grin (Karlson2k) 4d0d4701c6 Updated ChangeLog and bump MHD_VERSION 2016-07-23 18:55:18 +00:00
Evgeny Grin (Karlson2k) 43bb6196b0 Added MHD_FAVOR_FAST_CODE and MHD_FAVOR_SMALL_CODE automatic macros.
Macros can be forced by external define.
Added versions of mhd_str functions for smaller resulting code.
2016-07-23 18:55:09 +00:00
Evgeny Grin (Karlson2k) e47a4a62be Added new header mhd_options.h 2016-07-23 18:55:02 +00:00
Christian Grothoff dcc7066746 print warning if application code performing connection POST processing is buggy 2016-07-16 19:56:26 +00:00
Christian Grothoff 0bfe068c10 support 308 2016-07-08 13:59:36 +00:00