libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] MHD_add_connection and EPOLL


From: José Bollo
Subject: Re: [libmicrohttpd] MHD_add_connection and EPOLL
Date: Wed, 31 Oct 2018 08:49:35 +0100

On Tue, 30 Oct 2018 16:07:50 +0100
José Bollo <address@hidden> wrote:

just to be sure that you dont miss the patch (tested with success here)

> The patch below seems okay:
> 
> 
> diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
> index cd2ca189..b877e560 100644
> --- a/src/microhttpd/daemon.c
> +++ b/src/microhttpd/daemon.c
> @@ -5990,8 +5990,7 @@ MHD_start_daemon_va (unsigned int flags,
>  
>  #ifdef EPOLL_SUPPORT
>    if ( (0 != (*pflags & MHD_USE_EPOLL)) &&
> -       (0 == daemon->worker_pool_size) &&
> -       (0 == (*pflags & MHD_USE_NO_LISTEN_SOCKET)) )
> +       (0 == daemon->worker_pool_size) )
>      {
>        if (0 != (*pflags & MHD_USE_THREAD_PER_CONNECTION))
>         {
> 




reply via email to

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