mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 02:25:40 +08:00
Increase backlog of listening sockets to match maxconn
This commit is contained in:
parent
a22e2be77b
commit
25c375a78a
@ -649,7 +649,7 @@ int MODULEMAINFUNC (int argc, char** argv){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!isudp){
|
if(!isudp){
|
||||||
if(so._listen (sock, 1 + (srv.maxchild>>4))==-1) {
|
if(so._listen (sock, srv.maxchild)==-1) {
|
||||||
sprintf((char *)buf, "listen(): %s", strerror(errno));
|
sprintf((char *)buf, "listen(): %s", strerror(errno));
|
||||||
if(!srv.silent)dolog(&defparam, buf);
|
if(!srv.silent)dolog(&defparam, buf);
|
||||||
return -4;
|
return -4;
|
||||||
|
Loading…
Reference in New Issue
Block a user