Commit c0726036 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpd: Use -1 as backlog

parent 0921e364
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment