commit 2381276a155fac820e76f10b62552c83bf96aff4 parent d87dcd8309e2d3a426fc9354f59337710071ef9c Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Sat, 19 Dec 2020 10:44:05 +0300 Do not reset buffering on added connection Buffering is handled completely in mhd_send.c Diffstat:
| M | src/microhttpd/daemon.c | | | 8 | -------- |
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -3370,14 +3370,6 @@ MHD_add_connection (struct MHD_Daemon *daemon, #endif } - if ( (0 == (daemon->options & MHD_USE_TURBO)) && - (! MHD_socket_buffering_reset_ (client_socket)) ) - { -#ifdef HAVE_MESSAGES - MHD_DLOG (daemon, - _ ("Failed to reset buffering mode on new client socket.\n")); -#endif - } #if defined(MHD_USE_POSIX_THREADS) || defined(MHD_USE_W32_THREADS) if (NULL != daemon->worker_pool) {