summaryrefslogtreecommitdiffstats
path: root/net/khttpd/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/khttpd/sockets.c')
-rw-r--r--net/khttpd/sockets.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/khttpd/sockets.c b/net/khttpd/sockets.c
index 8f8b5d250..0d575abdf 100644
--- a/net/khttpd/sockets.c
+++ b/net/khttpd/sockets.c
@@ -68,9 +68,10 @@ int StartListening(const int Port)
(void)printk(KERN_ERR " daemon is (or was a short time ago) using port %i.\n",Port);
return 0;
}
-
+
+ /* Grrr... setsockopt() does this. */
sock->sk->reuse = 1;
- sock->sk->nonagle = 0;
+ /* Wow!!! */
sock->sk->linger = 1;
/* Now, start listening on the socket */