gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 28/154: fixes


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 28/154: fixes
Date: Mon, 19 Aug 2019 10:15:40 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 45a1764cb8ae079e6376f800f6868a3efdd0f9b9
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jul 19 19:34:30 2019 +0200

    fixes
---
 src/microhttpd/mhd_send.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 074ba115..220ca0f3 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -145,10 +145,10 @@ MHD_send_on_connection_ (struct MHD_Connection 
*connection,
       if (0 == setsockopt (connection->socket_fd,
                            IPPROTO_TCP,
                            TCP_CORK,
-                           (const void *) &on_val,
-                           sizeof (on_val)))
+                           (const void *) &off_val,
+                           sizeof (off_val)))
       {
-        connection->sk_tcp_nodelay = false;
+        connection->sk_tcp_nodelay = true;
       }
       else if (0 == setsockopt (connection->socket_fd,
                                 IPPROTO_TCP,

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



reply via email to

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