avoid backlog issue by increasing backlog size
This commit is contained in:
parent
2637c1b682
commit
18736c4b91
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user