summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcp.c2
-rw-r--r--tls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tcp.c b/tcp.c
index e903cc5..77a6044 100644
--- a/tcp.c
+++ b/tcp.c
@@ -349,7 +349,7 @@ void *tcplistener(void *arg) {
struct sockaddr_storage from;
socklen_t fromlen = sizeof(from);
- listen(*sp, 0);
+ listen(*sp, 128);
for (;;) {
s = accept(*sp, (struct sockaddr *)&from, &fromlen);
diff --git a/tls.c b/tls.c
index f1b0f29..bbf9da3 100644
--- a/tls.c
+++ b/tls.c
@@ -460,7 +460,7 @@ void *tlslistener(void *arg) {
struct sockaddr_storage from;
socklen_t fromlen = sizeof(from);
- listen(*sp, 0);
+ listen(*sp, 128);
for (;;) {
s = accept(*sp, (struct sockaddr *)&from, &fromlen);