summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-08-02 18:01:26 +0000
committerng0 <ng0@n0.is>2019-08-02 18:01:26 +0000
commit8e06dbedccb4876b8f86770e0b986c624bf8aaf1 (patch)
tree6a17f2acce8a3bb69e2e8af08383b2402c605065
parentbdb2e3ea6fae1198e32fe4bfe8aadefc6689b1c3 (diff)
remove more code.
-rw-r--r--src/microhttpd/connection.c11
1 files changed, 1 insertions, 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;