mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Unix: Bigger TCP listen backlog
Trying this to avoid waiting for SYN retries on restart.
This commit is contained in:
parent
9ba4b4a63d
commit
a05c8fe493
@ -1476,7 +1476,7 @@ sk_open(sock *s)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SK_TCP_PASSIVE:
|
case SK_TCP_PASSIVE:
|
||||||
if (listen(fd, 8) < 0)
|
if (listen(fd, 128) < 0)
|
||||||
ERR2("listen");
|
ERR2("listen");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user