commit 61b84b6afc18961f244cf648040d07aaf36cdc62
parent e9c09cf9ae459c04bc9aa029f3e376e241afb16e
Author: ng0 <ng0@n0.is>
Date: Fri, 19 Jul 2019 18:01:51 +0000
comments
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -185,7 +185,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
{
if (! have_cork && want_cork)
{
- // setsockopt (nodelay-off);
setsockopt (connection->socket_fd,
IPPROTO_TCP,
TCP_NODELAY,
@@ -193,7 +192,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
sizeof (off_val));
connection->sk_tcp_nodelay_on = false;
}
- // ...
}
#endif
@@ -299,7 +297,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
{
if (have_cork && ! want_cork)
{
- // setsockopt (nodelay - on);
if (0 == setsockopt (connection->socket_fd,
IPPROTO_TCP,
TCP_NODELAY,
@@ -309,7 +306,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
connection->sk_tcp_nodelay_on = true;
}
}
- // ...
}
#endif
@@ -362,7 +358,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
{
if (! have_cork && want_cork)
{
- // setsockopt (nodelay-off);
if (0 == setsockopt (connection->socket_fd,
IPPROTO_TCP,
TCP_NODELAY,
@@ -371,7 +366,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
connection->sk_tcp_nodelay = false;
}
}
- // ...
}
#endif