summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-11 02:49:08 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-11 02:49:08 +0200
commit18736c4b91fbd7b24d733e9d457d09615ad35020 (patch)
tree6fce3cbfd0589722b777c78a75dd8c080ca7c2e0 /src/exchange/taler-exchange-httpd.c
parent2637c1b682565f3c4e43c03f1fa3755bdf2ae5d9 (diff)
downloadexchange-18736c4b91fbd7b24d733e9d457d09615ad35020.tar.gz
exchange-18736c4b91fbd7b24d733e9d457d09615ad35020.tar.bz2
exchange-18736c4b91fbd7b24d733e9d457d09615ad35020.zip
avoid backlog issue by increasing backlog size
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 9c9579e76..19c318dbd 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -948,7 +948,8 @@ main (int argc,
(-1 == fh) ? serve_port : 0,
NULL, NULL,
&handle_mhd_request, NULL,
- MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 16,
+ MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 24,
+ MHD_OPTION_LISTEN_BACKLOG_SIZE, (unsigned int) 1024,
MHD_OPTION_LISTEN_SOCKET, fh,
MHD_OPTION_EXTERNAL_LOGGER, &handle_mhd_logs, NULL,
MHD_OPTION_NOTIFY_COMPLETED, &handle_mhd_completion_callback, NULL,