summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-08-18 11:23:02 +0000
committerng0 <ng0@n0.is>2019-08-18 11:23:02 +0000
commit39ddaf988f41c50b3a36d6683b4ca3c7e298041d (patch)
treede441617d602c7cf1fe0af9ac1903e1b6ae171d3
parentc51869af5a5f1b76cce745afaf9c75ac9a502ee0 (diff)
connection.c: remove dead code.
-rw-r--r--src/microhttpd/connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index ab760e4a..b8e2462b 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 */
- if (socket_flush_possible (connection))
- socket_start_no_buffering_flush (connection); /* REMOVE: Dead */
+ /* Some clients may take some actions right after header receive.
+ This is now handled by code in and around mhd_send.c. */
+ break;
#ifdef UPGRADE_SUPPORT
if (NULL != connection->response->upgrade_handler)