libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] libmicrohttpd 0.9.55 https and MHD_USE_EPOLL


From: Denis Dowling
Subject: [libmicrohttpd] libmicrohttpd 0.9.55 https and MHD_USE_EPOLL
Date: Mon, 4 Sep 2017 04:35:15 +0000

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.

 

Regards,

Denis


The information contained in this message and any attachments is strictly confidential and intended solely for the use of the intended recipient(s). The copyright in this communication belongs to (HSD). This message and any attachments are confidential and may be subject to legal or other professional privilege. Any confidentiality or privilege is not waived or lost because this e-mail has been sent to you by mistake. If you have received this transmission in error, please notify HSD on +61 3 9875 5900 immediately and destroy all copies of this e-mail. The contents of this email message may not be quoted, copied, reproduced or published in part or in whole, without the written authorisation of HSD.


reply via email to

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