On 11.05.2017 13:50, Dom F wrote: > OK, I replaced my calls to shutdown() with a debug message and turned on > MHD_USE_THREAD_PER_CONNECTION again. > Currently I am seeing approx. 55 active websocket threads but > daemon->connections is up to around 1450. > Looking at my logfile there were only about 4 times my code would have > called shutdown() anyway. > Also, I'm NOT using MHD_USE_TLS or any HTTPS-related MHD flag. > (daemon->options is 42061) > > Hope this helps narrow down the issue! I can also very easily test if > you want to throw more suggestions or patches my way. >
Thanks for report and additional information! Closure of upgraded connection in poll() and select() mode with thread-per-connection is fixed in git master. Could you check an updated MHD from git? -- Evgeny
signature.asc
Description: OpenPGP digital signature
