gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/03: test_upgrade_large: do not uncork the socket


From: gnunet
Subject: [libmicrohttpd] 02/03: test_upgrade_large: do not uncork the socket
Date: Sat, 17 Apr 2021 15:53:40 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit e2d6e58257e2bd25c881856cb7f1657df07d6c6f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 17 16:11:30 2021 +0300

    test_upgrade_large: do not uncork the socket
    
    Uncorking of the socket is not required as it wasn't corked.
    Moreover, uncorking always flush network buffers with Linux
    kernel, while on all other platforms behavior is different.
    As test should function on all platforms in the same way,
    we shouldn't use unportable features.
---
 src/microhttpd/test_upgrade_large.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/microhttpd/test_upgrade_large.c 
b/src/microhttpd/test_upgrade_large.c
index 7de8de2d..aeae5127 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -511,8 +511,7 @@ wr_send (struct wr_socket *s,
     ssize_t ret;
 
     ret = MHD_send_ (s->fd, buf, len);
-    (void) MHD_socket_cork_ (s->fd,
-                             false);
+
     return ret;
   }
 #ifdef HTTPS_SUPPORT

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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