mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Revert "connection.c: remove dead code."
This reverts commit 39ddaf988f.
Without this test_upgrade hangs on select(6) in FreeBSD.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user