[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/02: Do not reset buffering on added connection
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/02: Do not reset buffering on added connection |
Date: |
Sun, 20 Dec 2020 19:12:07 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 2381276a155fac820e76f10b62552c83bf96aff4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Dec 19 10:44:05 2020 +0300
Do not reset buffering on added connection
Buffering is handled completely in mhd_send.c
---
src/microhttpd/daemon.c | 8 --------
1 file changed, 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,
#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)
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.