Commit 11bae5b7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Bump listen() count to max. Its not likely that these are building up,

but lets not take the chance.
parent 2908473f
...@@ -459,7 +459,7 @@ makesockets(int portnum, int *udpsockp, int *tcpsockp) ...@@ -459,7 +459,7 @@ makesockets(int portnum, int *udpsockp, int *tcpsockp)
if (getsockname(tcpsock, (struct sockaddr *) &name, &length)) { if (getsockname(tcpsock, (struct sockaddr *) &name, &length)) {
pfatal("getsockname"); pfatal("getsockname");
} }
if (listen(tcpsock, 20) < 0) { if (listen(tcpsock, 128) < 0) {
pfatal("listen"); pfatal("listen");
} }
info("listening on TCP port %d\n", ntohs(name.sin_port)); info("listening on TCP port %d\n", ntohs(name.sin_port));
......
Supports Markdown
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