On 25.06.2015 21:11, Christian Grothoff wrote:
> Hi!
>
> The 'correct' answer is that you should not even have to treat HEAD/GET
> any different in your application logic, by design MHD should just
> notice it's a HEAD request and not send the body.
>
> I just modified 'src/examples/demo.c' to su
Hi!
The 'correct' answer is that you should not even have to treat HEAD/GET
any different in your application logic, by design MHD should just
notice it's a HEAD request and not send the body.
I just modified 'src/examples/demo.c' to support HEAD requests
(basically previously it checked for meth
On 06/25/2015 02:28 PM, Markus Doppelbauer wrote:
> Hello,
>
> Is it allowed/safe to suspend a connection via
> "MHD_suspend_connection()" inside a
> "MHD_ContentReaderCallback()" handler?
Yes.
> I am asking because
> a) the docs say:
> "The only safe time to suspend a connection is from
Hello,
Is it allowed/safe to suspend a connection via
"MHD_suspend_connection()" inside a
"MHD_ContentReaderCallback()" handler?
I am asking because
a) the docs say:
"The only safe time to suspend a connection is from the
MHD_AccessHandlerCallback."
b) the "MHD_ContentReaderCallback()" d