summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-08-18 10:46:39 +0000
committerng0 <ng0@n0.is>2019-08-18 10:46:39 +0000
commitd72f4184e976f9746801bc3a0b7fb083ad8c065b (patch)
tree76b110466d0bde82255c96bc6b4962495b08cc08
parent86832243cf904b0bbae31471874b7abdf90e49d0 (diff)
connection.c: remove 2 more calls of dead code.
-rw-r--r--src/microhttpd/connection.c6
1 files changed, 0 insertions, 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) &&