diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-19 10:44:05 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-19 10:44:05 +0300 |
commit | 2381276a155fac820e76f10b62552c83bf96aff4 (patch) | |
tree | 12c62c1b84dfd4abb7a870e1c696c87f346bc1f4 | |
parent | d87dcd8309e2d3a426fc9354f59337710071ef9c (diff) | |
download | libmicrohttpd-2381276a155fac820e76f10b62552c83bf96aff4.tar.gz libmicrohttpd-2381276a155fac820e76f10b62552c83bf96aff4.zip |
Do not reset buffering on added connection
Buffering is handled completely in mhd_send.c
-rw-r--r-- | src/microhttpd/daemon.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index fefcd8b4..388f186a 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3370,14 +3370,6 @@ MHD_add_connection (struct MHD_Daemon *daemon, | |||
3370 | #endif | 3370 | #endif |
3371 | } | 3371 | } |
3372 | 3372 | ||
3373 | if ( (0 == (daemon->options & MHD_USE_TURBO)) && | ||
3374 | (! MHD_socket_buffering_reset_ (client_socket)) ) | ||
3375 | { | ||
3376 | #ifdef HAVE_MESSAGES | ||
3377 | MHD_DLOG (daemon, | ||
3378 | _ ("Failed to reset buffering mode on new client socket.\n")); | ||
3379 | #endif | ||
3380 | } | ||
3381 | #if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) | 3373 | #if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) |
3382 | if (NULL != daemon->worker_pool) | 3374 | if (NULL != daemon->worker_pool) |
3383 | { | 3375 | { |