Re: [libmicrohttpd] Suspend/resume with single thread and external epoll not sending response

2018-03-11 Thread Christian Grothoff
Dear Bob, I've analyzed your code, and the issue is on your end: you simply didn't set the timeout correctly. When using an external event loop, it is mandatory that you ask MHD for the timeout using MHD_get_timeout() and use that with select/poll/epoll. Then, you must call MHD_run() once wheneve

Re: [libmicrohttpd] Suspend/resume with single thread and external epoll not sending response

2018-03-11 Thread silvioprog
Hello dudes. It would be nice to attach this example (or Christian's explanation) in MHD's docs/examples. :-) Thank you! On Sun, Mar 11, 2018 at 2:11 PM, Christian Grothoff wrote: > Dear Bob, > > I've analyzed your code, and the issue is on your end: you simply didn't > set the timeout correct