libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] upgraded connections remain suspended when using MHD


From: Evgeny Grin
Subject: Re: [libmicrohttpd] upgraded connections remain suspended when using MHD_USE_THREAD_PER_CONNECTION
Date: Sun, 14 May 2017 15:17:38 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]