aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-06 21:06:04 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-06 21:06:04 +0200
commit485a9a4cc305aa0c24ac687ee3e4bc469dca16ee (patch)
treeac608bfb9bd1282e051cf1f14b12f5371fd1b87f
parent3e939dde0ad07d1ecbb9bed2123fff6d2d92dcab (diff)
Setup higher backlog count
libweb now allows to set up a custom value for the backlog argument in the internal call to listen(2).
m---------libweb0
-rw-r--r--main.c2
2 files changed, 2 insertions, 0 deletions
diff --git a/libweb b/libweb
-Subproject 4918cf87d3cf5d3dd8425fe10d97a06282472df
+Subproject db9cb051c4ee05c07ab32dfed5bae8b7dc0916b
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. */