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). --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') 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