On Wed, 10 May 2017 09:31:22 +0200
José Bollo <jo...@nonadev.net> wrote:

{snip}

> 
> To circumvent it, you can replace #if 0 with #if 1, leading to call
> MHD_run one more time. So there is a workaround.

In fact I'am actually enforced to call it 3 times to get all the
output because I internally use MHD_create_response_from_callback:

 first call: nothing sent
 second call: header sent (with content length)
 third call: body sent

best regards
josé

> My feeling is that this is a typical use case and it should work with
> only one call to MHD_run. I also think that providing a way to resume
> a connection and sending the pending data without having to call
> MHD_run would help (but is not required).
> 
> Best regards
> José
> 


Reply via email to