libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] epoll documentation and code discrepancy


From: Sebastiano Merlino
Subject: [libmicrohttpd] epoll documentation and code discrepancy
Date: Mon, 28 Dec 2015 14:19:30 +0100

Hell,
I've been using libmicrohttpd for quite a while now (thank you for all the hard work you have been doing over the years). I was updating some of my code to use epoll these days and I noticed the documentation saying about MHD_USE_EPOLL_LINUX_ONLY:

"This option is only available on Linux systems and only works in conjunction with MHD_USE_THREAD_PER_CONNECTION (at this point)."

Using a combination of MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL_LINUX_ONLY caused the daemon to be returned as NULL - looking at the code I see and error and the following message:

"Combining MHD_USE_THREAD_PER_CONNECTION and MHD_USE_EPOLL_LINUX_ONLY is not supported."

Is the use of epoll reserved just to INTERNAL_SELECT?

Thanks,

Sebastiano


reply via email to

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