changeset 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 d67e043d3f0d
children 52e88e139b25
files src/c/http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;