From 485a9a4cc305aa0c24ac687ee3e4bc469dca16ee Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 6 Oct 2025 21:06:04 +0200 Subject: Setup higher backlog count libweb now allows to set up a custom value for the backlog argument in the internal call to listen(2). --- libweb | 2 +- main.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libweb b/libweb index 4918cf8..db9cb05 160000 --- a/libweb +++ b/libweb @@ -1 +1 @@ -Subproject commit 4918cf87d3cf5d3dd8425fe10d97a06282472df6 +Subproject commit db9cb051c4ee05c07ab32dfed5bae8b7dc0916bd diff --git a/main.c b/main.c index ee29be0..104a381 100644 --- a/main.c +++ b/main.c @@ -2663,6 +2663,8 @@ int main(int argc, char *argv[]) .length = check_length, .tmpdir = tmpdir, .user = &ua, + /* Fetching thumbnails might require many concurrent connections. */ + .backlog = 128, .post = { /* Arbitrary limit. */ -- cgit v1.2.3