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

2018-03-13 Thread Robert D Kocisko
I agree with Silvio, it would be great to have this example included in the official examples. On Sun, Mar 11, 2018 at 2:11 PM, silvioprog wrote: > 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

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

2018-03-13 Thread Robert D Kocisko
Hi Christian, Thank you! Very cool to see the example working. Funny, I implemented MHD_get_timeout in the main loop in my project but in all my tests it always returned MHD_NO, so I assumed it was not applicable to my use case and didn't include it in the example I wrote. But I didn't make the

[libmicrohttpd] Python extension for libmicrohttpd

2018-03-13 Thread Charlie Sale
Hello libmicrohttpd developers. I am new to the MHD development community, so I don't know how things are done here, but I had an idea for an addition to this package. *I was wondering if it would be appreciated if I wrote a python extension for libmicrohttpd*. Really, all the extension would be

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

2018-03-13 Thread Christian Grothoff
Done: 85913afa..7d7ccbcd Thanks for the suggestion! -Christian On 03/13/2018 07:09 PM, Robert D Kocisko wrote: > Hi Christian, > > Thank you! Very cool to see the example working. Funny, I > implemented MHD_get_timeout in the main loop in my project but in all > my tests it always returned MH

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

2018-03-13 Thread Christian Grothoff
Thanks for agreeing. Added as src/examples/suspend_resume_epoll.c in 7d7ccbcd..8abd74f3. Happy hacking! Christian On 03/13/2018 07:11 PM, Robert D Kocisko wrote: > I agree with Silvio, it would be great to have this example included > in the official examples. > > On Sun, Mar 11, 2018 at 2:11