diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-11 02:49:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-11 02:49:08 +0200 |
commit | 18736c4b91fbd7b24d733e9d457d09615ad35020 (patch) | |
tree | 6fce3cbfd0589722b777c78a75dd8c080ca7c2e0 | |
parent | 2637c1b682565f3c4e43c03f1fa3755bdf2ae5d9 (diff) | |
download | exchange-18736c4b91fbd7b24d733e9d457d09615ad35020.tar.xz |
avoid backlog issue by increasing backlog size
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 3 |
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, |