gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 103/154: test


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 103/154: test
Date: Mon, 19 Aug 2019 10:16:55 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 7a9f4c60e7e807bcf2701f3c7b99cb8a5ec9ca96
Author: ng0 <address@hidden>
AuthorDate: Fri Jul 26 21:09:54 2019 +0000

    test
---
 src/microhttpd/mhd_sockets.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c
index bc924651..0bfe2517 100644
--- a/src/microhttpd/mhd_sockets.c
+++ b/src/microhttpd/mhd_sockets.c
@@ -474,24 +474,24 @@ MHD_socket_buffering_reset_ (MHD_socket sock)
 #if defined(TCP_NODELAY) || defined(MHD_TCP_CORK_NOPUSH)
   const MHD_SCKT_OPT_BOOL_ off_val = 0;
 #if defined(MHD_TCP_CORK_NOPUSH)
-#if OLD_SOCKOPT
+  //#if OLD_SOCKOPT
   /* Disable extra buffering */
   res = (0 == setsockopt (sock,
                           IPPROTO_TCP,
                           MHD_TCP_CORK_NOPUSH,
                           (const void *) &off_val,
                           sizeof (off_val))) && res;
-#endif
+  //#endif
 #endif /* MHD_TCP_CORK_NOPUSH */
 #if defined(TCP_NODELAY)
-#if OLD_SOCKOPT
+  //#if OLD_SOCKOPT
   /* Enable Nagle's algorithm for normal buffering */
   res = (0 == setsockopt (sock,
                           IPPROTO_TCP,
                           TCP_NODELAY,
                           (const void *) &off_val,
                           sizeof (off_val))) && res;
-#endif
+  //#endif
 #endif /* TCP_NODELAY */
 #else  /* !TCP_NODELAY && !MHD_TCP_CORK_NOPUSH */
   (void) sock;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]