aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/microhttpd/daemon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 97e0ec30..e5d40861 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3259,8 +3259,9 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
3259#if defined(MHD_TCP_CORK_NOPUSH) || defined(HAVE_MSG_MORE) 3259#if defined(MHD_TCP_CORK_NOPUSH) || defined(HAVE_MSG_MORE)
3260 /* We will use TCP_CORK or TCP_NOPUSH or MSG_MORE to control 3260 /* We will use TCP_CORK or TCP_NOPUSH or MSG_MORE to control
3261 transmission, disable Nagle's algorithm (always) */ 3261 transmission, disable Nagle's algorithm (always) */
3262 if (0 != MHD_socket_set_nodelay_ (s, 3262 if ( (0 != MHD_socket_set_nodelay_ (s,
3263 true)) 3263 true)) &&
3264 (EOPNOTSUPP != errno) )
3264 { 3265 {
3265#ifdef HAVE_MESSAGES 3266#ifdef HAVE_MESSAGES
3266 MHD_DLOG (daemon, 3267 MHD_DLOG (daemon,