aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
Commit message (Collapse)AuthorAge
* -first, crazy-pants version of test and implementation of HTTPS upgrade; ↵Christian Grothoff2016-09-03
| | | | FLUSH API still needs to change dramatically, neither the ioctl nor the busy waiting are really acceptable here
* implementing 'Connection: upgrade' for thread-per-connection modes, but untestedChristian Grothoff2016-09-03
|
* -theoretically finishing epoll() + HTTPS-based connection upgrade logicChristian Grothoff2016-08-28
|
* more work on upgrade implementationChristian Grothoff2016-08-28
|
* -fix misc issues with upgrade introductionChristian Grothoff2016-08-28
|
* add testcase for HTTP UpgradeChristian Grothoff2016-08-27
|
* sketching support for upgrade handlingChristian Grothoff2016-08-27
|
* -add missing unlockChristian Grothoff2016-08-27
|
* epoll is now supported on non-Linux platforms (namely illumos).Evgeny Grin (Karlson2k)2016-08-24
| | | | Renamed MHD options and updated documentation.
* Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported.Evgeny Grin (Karlson2k)2016-08-24
|
* mhd_sockets.h: unify some macro namesEvgeny Grin (Karlson2k)2016-08-23
|
* mhd_sockets: better sockets errors abstraction, improved performance on W32Evgeny Grin (Karlson2k)2016-08-23
|
* Moved generic emulated functions to mhd_compat.h/.c, removed "platform" dir,Evgeny Grin (Karlson2k)2016-08-23
| | | | removed "w32functions.h/.c"
* Moved sockets abstraction to specialized mhd_socket.h/.c filesEvgeny Grin (Karlson2k)2016-08-23
|
* fixing crash bug, connection-limit bug and documenting connection-limit ↵Christian Grothoff2016-08-15
| | | | behavior better
* Moved locks and mutex abstraction to mhd_locks.hEvgeny Grin (Karlson2k)2016-08-10
| | | | Minor refactoring to allow better code optimization.
* connection.c: fixed build without messages (#endif placement)Evgeny Grin (Karlson2k)2016-07-22
|
* print warning if application code performing connection POST processing is buggyChristian Grothoff2016-07-16
|
* -do not call callback if connection was already suspendedChristian Grothoff2016-06-10
|
* -fix branching, might have FD_CLR'ed -1 otherwiseChristian Grothoff2016-06-02
|
* off-by-1Christian Grothoff2016-06-01
|
* do not generate Content-Length header for 1xx/204/304 replies, also suppress ↵Christian Grothoff2016-06-01
| | | | transmission of message body in these cases
* indentChristian Grothoff2016-05-29
|
* add MHD_CONNECTION_INFO_CONNECTION_SUSPENDEDChristian Grothoff2016-05-17
|
* connection.c: used internal US-ASCII-only hex string -> value conversionEvgeny Grin (Karlson2k)2016-04-12
|
* connection.c: removed unused variable, silent compiler warningEvgeny Grin (Karlson2k)2016-04-12
|
* mhd_str: refactored MHD_str_to_uint64() and MHD_str_to_uint64_n_() for ↵Evgeny Grin (Karlson2k)2016-04-12
| | | | | | simplification, more error checking and optimization
* parse_connection_headers(): fixed uploading by POST files larger then LONG_MAXEvgeny Grin (Karlson2k)2016-04-11
|
* -indentChristian Grothoff2016-04-10
|
* Corrected typos in commentsEvgeny Grin (Karlson2k)2016-04-10
|
* Use less locking with MHD_USE_THREAD_PER_CONNECTION.Evgeny Grin (Karlson2k)2016-04-10
| | | | | Do not maintain global list out timeouts as each thread use individual timeout. As result - global mutex is not acquired after each single send()/recv().
* Reworked calling shutdown() on connections:Evgeny Grin (Karlson2k)2016-04-08
| | | | | | Now called on all platforms (including W32), called only with SHUT_WR, except in close_all_connections() where shutdown() called with SHUT_RDWR. This should increase chances of graceful disconnection.
* connection.c: remove unneeded check in try_ready_normal_body()Evgeny Grin (Karlson2k)2016-04-08
|
* connection.c: fix using uninitialized variable in build_header_response()Evgeny Grin (Karlson2k)2016-04-08
|
* fix unnecessary and potentially problematic use of eready DLL in ↵Christian Grothoff2016-03-15
| | | | thread-per-connection mode
* Added some buffer overrun protection, fixed handling of misformed URI with ↵Evgeny Grin (Karlson2k)2016-02-04
| | | | spaces.
* Use only US-ASCII charset when comparing stings as caseless as required by ↵Evgeny Grin (Karlson2k)2016-01-16
| | | | | | standard. Comparisons for HTTP headers must not be affected by locale settings.
* configure.ac: cleanup and fixes related to optional features, corresponding ↵Evgeny Grin (Karlson2k)2016-01-11
| | | | changes in source files
* connection.c: refactor get_date_string() for clarity, distinguishEvgeny Grin (Karlson2k)2015-12-03
| | | | different gmtime_s() forms, support C11 gmtime_s()
* Eliminate delay of response on platforms where socket flushing is not possible,Evgeny Grin (Karlson2k)2015-12-01
| | | | | send header to clients without delay on all platforms to allow clients to take some action depending on header content, send "100 continue" without delay.
* Reduce last packet response delay observable with keep-alive on BSD and ↵Evgeny Grin (Karlson2k)2015-11-25
| | | | Darwin platforms
* Fix type introduced in SVN 36682Evgeny Grin (Karlson2k)2015-11-24
|
* Add and use _MHD_SOCKOPT_BOOL_TYPE for simplify usage of setsockopt() on ↵Evgeny Grin (Karlson2k)2015-11-21
| | | | W32/POSIX sockets.
* -fix shrinkageChristian Grothoff2015-11-06
|
* connection.c: use faster and better checks for empty linesEvgeny Grin (Karlson2k)2015-11-04
|
* -add patch from Eugenio PerezChristian Grothoff2015-11-03
|
* -fix by undoing part of 36568Christian Grothoff2015-11-03
|
* realize suggestion from FC on MHD list to improve ↵Christian Grothoff2015-10-25
| | | | MHD_get_connection_values() when used with a bitmask
* -fix assertion failure from race on shutdown and buffer shrinkage with ↵Christian Grothoff2015-10-25
| | | | pipelining
* -eol spacesChristian Grothoff2015-10-25
|