From d72f4184e976f9746801bc3a0b7fb083ad8c065b Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 18 Aug 2019 10:46:39 +0000 Subject: connection.c: remove 2 more calls of dead code. --- src/microhttpd/connection.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 7b630b77..ab760e4a 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -3456,9 +3456,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) MHD_STATICSTR_LEN_ (HTTP_100_CONTINUE)) { connection->state = MHD_CONNECTION_CONTINUE_SENT; - if (socket_flush_possible (connection)) - socket_start_no_buffering_flush (connection); /* REMOVE: Dead */ - continue; } break; @@ -3688,9 +3685,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) /* FIXME: maybe partially reset memory pool? */ continue; } - if (socket_flush_possible (connection)) - socket_start_no_buffering_flush (connection); /* REMOVE: Dead */ - MHD_destroy_response (connection->response); connection->response = NULL; if ( (NULL != daemon->notify_completed) && -- cgit v1.2.3