nghttpd: Use -1 as backlog
This commit is contained in:
parent
0921e364d7
commit
c0726036b1
|
@ -1074,8 +1074,7 @@ int start_listen(event_base *evbase, Sessions *sessions,
|
||||||
evlistener_acceptcb,
|
evlistener_acceptcb,
|
||||||
new ListenEventHandler(sessions, session_id_seed_ptr),
|
new ListenEventHandler(sessions, session_id_seed_ptr),
|
||||||
LEV_OPT_REUSEABLE | LEV_OPT_CLOSE_ON_FREE,
|
LEV_OPT_REUSEABLE | LEV_OPT_CLOSE_ON_FREE,
|
||||||
256,
|
-1, fd);
|
||||||
fd);
|
|
||||||
evconnlistener_set_error_cb(evlistener, evlistener_errorcb);
|
evconnlistener_set_error_cb(evlistener, evlistener_errorcb);
|
||||||
|
|
||||||
if(sessions->get_config()->verbose) {
|
if(sessions->get_config()->verbose) {
|
||||||
|
|
Loading…
Reference in New Issue