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

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)