Comparison

net/server.lua @ 7095:3e1dac35af87

server_select: Retry accepting clients from full servers after 10s (matches libevent behaviour)
author Kim Alvefur <zash@zash.se>
date Fri, 22 Jan 2016 01:59:25 +0100
parent 5531:483f795f6f99
child 7098:5286e79c6829
comparison
equal deleted inserted replaced
7094:e8f202856fc0 7095:3e1dac35af87
48 end 48 end
49 local function load_config() 49 local function load_config()
50 local settings = config_get("*", "network_settings") or {}; 50 local settings = config_get("*", "network_settings") or {};
51 if use_luaevent then 51 if use_luaevent then
52 local event_settings = { 52 local event_settings = {
53 ACCEPT_DELAY = settings.event_accept_retry_interval; 53 ACCEPT_DELAY = settings.accept_retry_interval;
54 ACCEPT_QUEUE = settings.tcp_backlog; 54 ACCEPT_QUEUE = settings.tcp_backlog;
55 CLEAR_DELAY = settings.event_clear_interval; 55 CLEAR_DELAY = settings.event_clear_interval;
56 CONNECT_TIMEOUT = settings.connect_timeout; 56 CONNECT_TIMEOUT = settings.connect_timeout;
57 DEBUG = settings.debug; 57 DEBUG = settings.debug;
58 HANDSHAKE_TIMEOUT = settings.ssl_handshake_timeout; 58 HANDSHAKE_TIMEOUT = settings.ssl_handshake_timeout;