Re: [libmicrohttpd] feature request: give a possibility to re-assign callbacks

2017-03-27 Thread Vitaliy T
On 27 March 2017 at 23:19, Evgeny Grin wrote: > Which callbacks would you like to reassign? At least, MHD_AccessHandlerCallback (a.k.a DH). > What prevents to return "MHD_NO" early from the same callback when required? Nothing. But on each request we do at least one useless check. > Simple (ps

Re: [libmicrohttpd] feature request: give a possibility to re-assign callbacks

2017-03-27 Thread Evgeny Grin
On 27.03.2017 17:29, Vitaliy T wrote: > 1. Subj. Which callbacks would you like to reassign? > 2. Why is this should be useful? > > 2.1. When you're actively using suspend/resume functionality and later > trying to shutdown the MHD daemon, then last one, by default, uses > default callbacks (whic

[libmicrohttpd] feature request: give a possibility to re-assign callbacks

2017-03-27 Thread Vitaliy T
Hello, 1. Subj. 2. Why is this should be useful? 2.1. When you're actively using suspend/resume functionality and later trying to shutdown the MHD daemon, then last one, by default, uses default callbacks (which were given at the startup) for _resumed_ connections (as docs says). By good intenti