diff options
author | ng0 <ng0@n0.is> | 2019-08-18 10:46:39 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-08-18 10:46:39 +0000 |
commit | d72f4184e976f9746801bc3a0b7fb083ad8c065b (patch) | |
tree | 76b110466d0bde82255c96bc6b4962495b08cc08 /src/microhttpd/connection.c | |
parent | 86832243cf904b0bbae31471874b7abdf90e49d0 (diff) | |
download | libmicrohttpd-d72f4184e976f9746801bc3a0b7fb083ad8c065b.tar.gz libmicrohttpd-d72f4184e976f9746801bc3a0b7fb083ad8c065b.zip |
connection.c: remove 2 more calls of dead code.
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 6 |
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) | |||
3456 | MHD_STATICSTR_LEN_ (HTTP_100_CONTINUE)) | 3456 | MHD_STATICSTR_LEN_ (HTTP_100_CONTINUE)) |
3457 | { | 3457 | { |
3458 | connection->state = MHD_CONNECTION_CONTINUE_SENT; | 3458 | connection->state = MHD_CONNECTION_CONTINUE_SENT; |
3459 | if (socket_flush_possible (connection)) | ||
3460 | socket_start_no_buffering_flush (connection); /* REMOVE: Dead */ | ||
3461 | |||
3462 | continue; | 3459 | continue; |
3463 | } | 3460 | } |
3464 | break; | 3461 | break; |
@@ -3688,9 +3685,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
3688 | /* FIXME: maybe partially reset memory pool? */ | 3685 | /* FIXME: maybe partially reset memory pool? */ |
3689 | continue; | 3686 | continue; |
3690 | } | 3687 | } |
3691 | if (socket_flush_possible (connection)) | ||
3692 | socket_start_no_buffering_flush (connection); /* REMOVE: Dead */ | ||
3693 | |||
3694 | MHD_destroy_response (connection->response); | 3688 | MHD_destroy_response (connection->response); |
3695 | connection->response = NULL; | 3689 | connection->response = NULL; |
3696 | if ( (NULL != daemon->notify_completed) && | 3690 | if ( (NULL != daemon->notify_completed) && |