diff options
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r-- | src/microhttpd/mhd_send.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 074ba115..220ca0f3 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -145,10 +145,10 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
145 | if (0 == setsockopt (connection->socket_fd, | 145 | if (0 == setsockopt (connection->socket_fd, |
146 | IPPROTO_TCP, | 146 | IPPROTO_TCP, |
147 | TCP_CORK, | 147 | TCP_CORK, |
148 | (const void *) &on_val, | 148 | (const void *) &off_val, |
149 | sizeof (on_val))) | 149 | sizeof (off_val))) |
150 | { | 150 | { |
151 | connection->sk_tcp_nodelay = false; | 151 | connection->sk_tcp_nodelay = true; |
152 | } | 152 | } |
153 | else if (0 == setsockopt (connection->socket_fd, | 153 | else if (0 == setsockopt (connection->socket_fd, |
154 | IPPROTO_TCP, | 154 | IPPROTO_TCP, |