patch-2.3.41 linux/net/khttpd/sockets.c
Next file: linux/net/khttpd/userspace.c
Previous file: linux/net/khttpd/datasending.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Jan 22 11:54:58 2000
- Orig file:
v2.3.40/linux/net/khttpd/sockets.c
- Orig date:
Wed Aug 18 09:45:10 1999
diff -u --recursive --new-file v2.3.40/linux/net/khttpd/sockets.c linux/net/khttpd/sockets.c
@@ -68,9 +68,10 @@
(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 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)