0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Unix: Bigger TCP listen backlog

Trying this to avoid waiting for SYN retries on restart.
This commit is contained in:
Jan Maria Matejka 2017-11-15 16:00:40 +01:00 committed by Maria Jan Matejka
parent 9ba4b4a63d
commit a05c8fe493

View File

@ -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;