From 8e06dbedccb4876b8f86770e0b986c624bf8aaf1 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 2 Aug 2019 18:01:26 +0000 Subject: remove more code. --- src/microhttpd/connection.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 0447525b..5c825b85 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -3446,9 +3446,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) if (need_100_continue (connection)) { connection->state = MHD_CONNECTION_CONTINUE_SENDING; - if (socket_flush_possible (connection)) - socket_start_extra_buffering (connection); /* REMOVE: Dead */ - break; } if ( (NULL != connection->response) && @@ -3576,9 +3573,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) continue; } connection->state = MHD_CONNECTION_HEADERS_SENDING; - if (socket_flush_possible (connection)) - socket_start_extra_buffering (connection); /* REMOVE: Dead */ - break; case MHD_CONNECTION_HEADERS_SENDING: /* no default action */ @@ -3613,10 +3607,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) continue; } #endif /* UPGRADE_SUPPORT */ - if (socket_flush_possible (connection)) - socket_start_extra_buffering (connection); /* REMOVE: Dead */ - else - socket_start_normal_buffering (connection); /* REMOVE: Dead */ + socket_start_normal_buffering (connection); /* REMOVE: Dead */ if (connection->have_chunked_upload) connection->state = MHD_CONNECTION_CHUNKED_BODY_UNREADY; -- cgit v1.2.3