The daemon could run into an infinite loop if used I use
"poll" (no issue with epoll).

The backtrace:
#0  0x0000003d912df283 in __poll (fds=<value optimized out>,
nfds=<value optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000000000455e4b in MHD_poll_all (daemon=0x2bd48f0,
may_block=<value optimized out>) at microhttpd/daemon.c:2645
#2  MHD_poll (daemon=0x2bd48f0, may_block=<value optimized out>) at
microhttpd/daemon.c:2776
#3  0x00000000004573fd in MHD_select_thread (cls=0x2bd48f0) at
microhttpd/daemon.c:3065
#4  0x0000003d91607aa1 in start_thread (arg=0x7f0911e1e700) at
pthread_create.c:301
#5  0x0000003d912e8aad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thanks a lot
Markus

Reply via email to