diff options
author | ng0 <ng0@n0.is> | 2019-07-26 21:20:56 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-26 21:20:56 +0000 |
commit | afe3f5aef4ec0b48b2c7e05f77dba8f8fbfe4243 (patch) | |
tree | 83ece33d8991b1ee8cbbf38df7b2ad7833850d27 /src/microhttpd/mhd_send.c | |
parent | 7a9f4c60e7e807bcf2701f3c7b99cb8a5ec9ca96 (diff) | |
download | libmicrohttpd-afe3f5aef4ec0b48b2c7e05f77dba8f8fbfe4243.tar.gz libmicrohttpd-afe3f5aef4ec0b48b2c7e05f77dba8f8fbfe4243.zip |
skcork
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r-- | src/microhttpd/mhd_send.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 0946d96e..d8e49954 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -166,8 +166,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
166 | const MHD_SCKT_OPT_BOOL_ off_val = 0; | 166 | const MHD_SCKT_OPT_BOOL_ off_val = 0; |
167 | const MHD_SCKT_OPT_BOOL_ on_val = 1; | 167 | const MHD_SCKT_OPT_BOOL_ on_val = 1; |
168 | 168 | ||
169 | connection->sk_cork_on = true; | ||
170 | |||
171 | /* error handling from send_param_adapter() */ | 169 | /* error handling from send_param_adapter() */ |
172 | if ((MHD_INVALID_SOCKET == s) || (MHD_CONNECTION_CLOSED == connection->state)) | 170 | if ((MHD_INVALID_SOCKET == s) || (MHD_CONNECTION_CLOSED == connection->state)) |
173 | { | 171 | { |
@@ -320,8 +318,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
320 | const MHD_SCKT_OPT_BOOL_ off_val = 0; | 318 | const MHD_SCKT_OPT_BOOL_ off_val = 0; |
321 | struct iovec vector[2]; | 319 | struct iovec vector[2]; |
322 | 320 | ||
323 | connection->sk_cork_on = true; | ||
324 | |||
325 | have_cork = ! connection->sk_cork_on; | 321 | have_cork = ! connection->sk_cork_on; |
326 | /* | 322 | /* |
327 | #if TCP_NODELAY | 323 | #if TCP_NODELAY |