diff options
author | ng0 <ng0@n0.is> | 2019-07-19 18:01:51 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-19 18:01:51 +0000 |
commit | 61b84b6afc18961f244cf648040d07aaf36cdc62 (patch) | |
tree | 8a1defaacab46d5b8bfd3ece294d35685a3c7b88 | |
parent | e9c09cf9ae459c04bc9aa029f3e376e241afb16e (diff) | |
download | libmicrohttpd-61b84b6afc18961f244cf648040d07aaf36cdc62.tar.gz libmicrohttpd-61b84b6afc18961f244cf648040d07aaf36cdc62.zip |
comments
-rw-r--r-- | src/microhttpd/mhd_send.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index cd5b9ad5..5e529646 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -185,7 +185,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
185 | { | 185 | { |
186 | if (! have_cork && want_cork) | 186 | if (! have_cork && want_cork) |
187 | { | 187 | { |
188 | // setsockopt (nodelay-off); | ||
189 | setsockopt (connection->socket_fd, | 188 | setsockopt (connection->socket_fd, |
190 | IPPROTO_TCP, | 189 | IPPROTO_TCP, |
191 | TCP_NODELAY, | 190 | TCP_NODELAY, |
@@ -193,7 +192,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
193 | sizeof (off_val)); | 192 | sizeof (off_val)); |
194 | connection->sk_tcp_nodelay_on = false; | 193 | connection->sk_tcp_nodelay_on = false; |
195 | } | 194 | } |
196 | // ... | ||
197 | } | 195 | } |
198 | #endif | 196 | #endif |
199 | 197 | ||
@@ -299,7 +297,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
299 | { | 297 | { |
300 | if (have_cork && ! want_cork) | 298 | if (have_cork && ! want_cork) |
301 | { | 299 | { |
302 | // setsockopt (nodelay - on); | ||
303 | if (0 == setsockopt (connection->socket_fd, | 300 | if (0 == setsockopt (connection->socket_fd, |
304 | IPPROTO_TCP, | 301 | IPPROTO_TCP, |
305 | TCP_NODELAY, | 302 | TCP_NODELAY, |
@@ -309,7 +306,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
309 | connection->sk_tcp_nodelay_on = true; | 306 | connection->sk_tcp_nodelay_on = true; |
310 | } | 307 | } |
311 | } | 308 | } |
312 | // ... | ||
313 | } | 309 | } |
314 | #endif | 310 | #endif |
315 | 311 | ||
@@ -362,7 +358,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
362 | { | 358 | { |
363 | if (! have_cork && want_cork) | 359 | if (! have_cork && want_cork) |
364 | { | 360 | { |
365 | // setsockopt (nodelay-off); | ||
366 | if (0 == setsockopt (connection->socket_fd, | 361 | if (0 == setsockopt (connection->socket_fd, |
367 | IPPROTO_TCP, | 362 | IPPROTO_TCP, |
368 | TCP_NODELAY, | 363 | TCP_NODELAY, |
@@ -371,7 +366,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
371 | connection->sk_tcp_nodelay = false; | 366 | connection->sk_tcp_nodelay = false; |
372 | } | 367 | } |
373 | } | 368 | } |
374 | // ... | ||
375 | } | 369 | } |
376 | #endif | 370 | #endif |
377 | 371 | ||