diff src/c/http.c @ 1914:6a2cc604a322

In HTTP protocol C code, increase listening socket backlog to maximum
author Adam Chlipala <adam@chlipala.net>
date Wed, 27 Nov 2013 08:59:57 -0500
parents 3d922a28370b
children 52e88e139b25
line wrap: on
line diff
--- a/src/c/http.c	Sun Nov 24 10:06:37 2013 -0500
+++ b/src/c/http.c	Wed Nov 27 08:59:57 2013 -0500
@@ -19,7 +19,7 @@
 
 extern uw_app uw_application;
 
-int uw_backlog = 10;
+int uw_backlog = SOMAXCONN;
 
 static char *get_header(void *data, const char *h) {
   char *s = data;