diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 2c162def..ea12a532 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -3020,6 +3020,15 @@ MHD_add_connection (struct MHD_Daemon *daemon, | |||
3020 | _("Failed to set noninheritable mode on new client socket.\n")); | 3020 | _("Failed to set noninheritable mode on new client socket.\n")); |
3021 | #endif | 3021 | #endif |
3022 | } | 3022 | } |
3023 | |||
3024 | if ( (0 == (daemon->options & MHD_USE_TURBO)) && | ||
3025 | (! MHD_socket_buffering_reset_ (client_socket)) ) | ||
3026 | { | ||
3027 | #ifdef HAVE_MESSAGES | ||
3028 | MHD_DLOG (daemon, | ||
3029 | _("Failed to reset buffering mode on new client socket.\n")); | ||
3030 | #endif | ||
3031 | } | ||
3023 | return internal_add_connection (daemon, | 3032 | return internal_add_connection (daemon, |
3024 | client_socket, | 3033 | client_socket, |
3025 | addr, | 3034 | addr, |