nghttpd: Use -1 as backlog

This commit is contained in:
Tatsuhiro Tsujikawa 2013-12-27 00:02:43 +09:00
parent 0921e364d7
commit c0726036b1
1 changed files with 1 additions and 2 deletions

View File

@ -1074,8 +1074,7 @@ int start_listen(event_base *evbase, Sessions *sessions,
evlistener_acceptcb,
new ListenEventHandler(sessions, session_id_seed_ptr),
LEV_OPT_REUSEABLE | LEV_OPT_CLOSE_ON_FREE,
256,
fd);
-1, fd);
evconnlistener_set_error_cb(evlistener, evlistener_errorcb);
if(sessions->get_config()->verbose) {