libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] libmicrohttpd 0.9.55 https and MHD_USE_EPOLL


From: Evgeny Grin
Subject: Re: [libmicrohttpd] libmicrohttpd 0.9.55 https and MHD_USE_EPOLL
Date: Mon, 4 Sep 2017 13:10:46 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi Denis,

Thanks for report!
Minimal example could help a lot.

In the meantime, could you provide more details how do you process
incoming data?
Do you use MHD_USE_ERROR_LOG flag for daemon? What's the output on stderr?

Also you could build MHD from source, modify definition of PUT_SIZE in
src/testcurl/test_large_put.c
and run
'make check'

-- 
Wishes,
Evgeny

On 04.09.2017 7:35, Denis Dowling wrote:
> Hi All,
> 
>  
> 
> I recently updated some code to use version 0.9.55 of libmicrohttpd.
> After the change I noticed that larger (~100kB) HTTPS requests are
> blocking forever. During the change I swapped from using the option
> MHD_USE_POLL to MHD_USE_AUTO. I can see from an strace that
> libmicrohttpd is now using epoll() for the dispatching.  If I switch
> back to MHD_USE_POLL then everything works fine again. If I use HTTP
> requests then everything is fine so it is something to do with the
> combination of HTTPS and epoll(). Other options are
> MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_SUSPEND_RESUME | MHD_USE_TLS.
> 
>  
> 
> Has anyone seen anything similar? I am running on CentOS7.3. The same
> issue also appears on Redhat7.4. I will try to modify one of the example
> applications in libmicrohttpd to demonstrate the issue.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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