[libmicrohttpd] 3xx code is incorrect reason phrase with rfc

2017-04-25 Thread hyunho
Hello I am using MHD 0.9.53 version are working to create a cache server. Reason Phrase from 303 onwards found to be wrong with the rfc. For example, 304 is defined as '304 Not Modified' in the rfc, but server response using MHD version 0.9.53 responds with '304 See Other' Best R

Re: [libmicrohttpd] How to access raw request bytes sent to a request handler (and total request size)?

2017-04-25 Thread John Duncan
That would be great, thanks! On Thu, Apr 20, 2017 at 10:57 AM, Christian Grothoff wrote: > Hi John, > > The raw request data is unavailable as MHD processed it in-place > (zero-copy!) to give the parsed headers to the application. > > However, it should be relatively easy to modify MHD to just r

Re: [libmicrohttpd] 0.9.53 breaks MHD_USE_POLL?

2017-04-25 Thread Evgeny Grin
Hi Lorenzo, Thanks for report! We introduced more checks in release 0.9.53 to make MHD more foolproof. Now MHD reject invalid combinations of flags instead of starting with undefined behaviour. Applications are advised to set explicitly flag MHD_USE_INTERNAL_POLLING_THREAD when using MHD_USE_THREA