commit 8e06dbedccb4876b8f86770e0b986c624bf8aaf1 parent bdb2e3ea6fae1198e32fe4bfe8aadefc6689b1c3 Author: ng0 <ng0@n0.is> Date: Fri, 2 Aug 2019 18:01:26 +0000 remove more code. Diffstat:
| M | src/microhttpd/connection.c | | | 11 | +---------- |
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git 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;