Diff

net/server.lua @ 5531:483f795f6f99

net.server*: Allow the TCP backlog parameter to be set in the config
author Kim Alvefur <zash@zash.se>
date Sat, 27 Apr 2013 22:46:01 +0200
parent 5385:d663483036db
child 5776:bd0ff8ae98a8
child 7095:3e1dac35af87
line wrap: on
line diff
--- a/net/server.lua	Sat Apr 27 19:44:37 2013 +0200
+++ b/net/server.lua	Sat Apr 27 22:46:01 2013 +0200
@@ -51,6 +51,7 @@
 		if use_luaevent then
 			local event_settings = {
 				ACCEPT_DELAY = settings.event_accept_retry_interval;
+				ACCEPT_QUEUE = settings.tcp_backlog;
 				CLEAR_DELAY = settings.event_clear_interval;
 				CONNECT_TIMEOUT = settings.connect_timeout;
 				DEBUG = settings.debug;