gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 154/154: Revert "connection.c: remove dead


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 154/154: Revert "connection.c: remove dead code."
Date: Mon, 19 Aug 2019 10:17:46 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit e82de7505f3be8fcee6bd1fc8990893b0a423a40
Author: ng0 <address@hidden>
AuthorDate: Sun Aug 18 15:20:30 2019 +0000

    Revert "connection.c: remove dead code."
    
    This reverts commit 39ddaf988f41c50b3a36d6683b4ca3c7e298041d.
    
    Without this test_upgrade hangs on select(6) in FreeBSD.
---
 src/microhttpd/connection.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index b8e2462b..ab760e4a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3560,9 +3560,9 @@ MHD_connection_handle_idle (struct MHD_Connection 
*connection)
           /* no default action */
           break;
         case MHD_CONNECTION_HEADERS_SENT:
-          /* Some clients may take some actions right after header receive.
-           This is now handled by code in and around mhd_send.c. */
-          break;
+          /* Some clients may take some actions right after header receive */
+          if (socket_flush_possible (connection))
+            socket_start_no_buffering_flush (connection); /* REMOVE: Dead */
 
 #ifdef UPGRADE_SUPPORT
           if (NULL != connection->response->upgrade_handler)

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



reply via email to

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