diff --git a/mongoose.c b/mongoose.c index 3d92e62e..c0e0d9a5 100644 --- a/mongoose.c +++ b/mongoose.c @@ -3374,7 +3374,7 @@ static int set_ports_option(struct mg_context *ctx) { setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) != 0 || bind(sock, &so.lsa.u.sa, so.lsa.len) != 0 || - listen(sock, 20) != 0) { + listen(sock, 100) != 0) { closesocket(sock); cry(fc(ctx), "%s: cannot bind to %.*s: %s", __func__, vec.len, vec.ptr, strerror(ERRNO));