libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] MHD_CONNECTION_OPTION_TIMEOUT seems not to work with


From: Nicolas Mora
Subject: Re: [libmicrohttpd] MHD_CONNECTION_OPTION_TIMEOUT seems not to work with MHD_create_response_from_callback
Date: Sat, 2 Feb 2019 09:53:20 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello,

Le 19-02-02 à 05 h 29, Christian Grothoff a écrit :
> 
> You are right to use the timeout option here. Beyond that, there is
So you confirm that MHD_CONNECTION_OPTION_TIMEOUT is not available when
using MHD_create_response_from_callback?

> On the server side, make sure you use EPOLL, in that case even a few
> hundred thousand 'open' connections should not be a huge issue for the
> server.
> 
So I'f I understand the documentation, instead of using
MHD_USE_THREAD_PER_CONNECTION, I should use
MHD_USE_EPOLL_INTERNAL_THREAD, except for windows platforms.

Thanks for your help!

/Nicolas



reply via email to

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