libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit d47eb38bf6002c363b7c4c1113fba124ba518d72
parent 0fddc5cf592af30b3cb52ca9b0db0089d5854b10
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 14 Sep 2016 18:51:09 +0000

HTTP Upgrade: Guard epoll functions

Diffstat:
Msrc/microhttpd/response.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c @@ -791,6 +791,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response, rbo, urh->app.socket, urh); +#ifdef EPOLL_SUPPORT /* Launch IO processing by the event loop */ if (0 != (daemon->options & MHD_USE_EPOLL)) { @@ -848,6 +849,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response, return MHD_NO; } } +#endif /* EPOLL_SUPPORT */ if (0 == (daemon->options & MHD_USE_THREAD_PER_CONNECTION) ) { /* As far as MHD's event loops are concerned, this connection