aboutsummaryrefslogtreecommitdiff
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)
downloadlibmicrohttpd-8e06dbedccb4876b8f86770e0b986c624bf8aaf1.tar.gz
libmicrohttpd-8e06dbedccb4876b8f86770e0b986c624bf8aaf1.zip
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)
3446 if (need_100_continue (connection)) 3446 if (need_100_continue (connection))
3447 { 3447 {
3448 connection->state = MHD_CONNECTION_CONTINUE_SENDING; 3448 connection->state = MHD_CONNECTION_CONTINUE_SENDING;
3449 if (socket_flush_possible (connection))
3450 socket_start_extra_buffering (connection); /* REMOVE: Dead */
3451
3452 break; 3449 break;
3453 } 3450 }
3454 if ( (NULL != connection->response) && 3451 if ( (NULL != connection->response) &&
@@ -3576,9 +3573,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
3576 continue; 3573 continue;
3577 } 3574 }
3578 connection->state = MHD_CONNECTION_HEADERS_SENDING; 3575 connection->state = MHD_CONNECTION_HEADERS_SENDING;
3579 if (socket_flush_possible (connection))
3580 socket_start_extra_buffering (connection); /* REMOVE: Dead */
3581
3582 break; 3576 break;
3583 case MHD_CONNECTION_HEADERS_SENDING: 3577 case MHD_CONNECTION_HEADERS_SENDING:
3584 /* no default action */ 3578 /* no default action */
@@ -3613,10 +3607,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
3613 continue; 3607 continue;
3614 } 3608 }
3615#endif /* UPGRADE_SUPPORT */ 3609#endif /* UPGRADE_SUPPORT */
3616 if (socket_flush_possible (connection)) 3610 socket_start_normal_buffering (connection); /* REMOVE: Dead */
3617 socket_start_extra_buffering (connection); /* REMOVE: Dead */
3618 else
3619 socket_start_normal_buffering (connection); /* REMOVE: Dead */
3620 3611
3621 if (connection->have_chunked_upload) 3612 if (connection->have_chunked_upload)
3622 connection->state = MHD_CONNECTION_CHUNKED_BODY_UNREADY; 3613 connection->state = MHD_CONNECTION_CHUNKED_BODY_UNREADY;