On 10/25/2016 07:24 PM, José Bollo wrote: > This topic is very interesting. > > Is it the same issue when an external select/poll is used?
If you use external select/poll, then you should still only queue a response from within the AccessHandlerCallback. The only major difference with external select/pool is that you must run MHD_run() (or equivalent) by somehow unblocking the system call to select/poll manually after you call MHD_resume_connection(). Otherwise, MHD won't "resume" processing instantly and your connection may hang until other activity of the HTTP service allows it to proceed.
signature.asc
Description: OpenPGP digital signature
