libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] issue with suspend/resume


From: José Bollo
Subject: Re: [libmicrohttpd] issue with suspend/resume
Date: Wed, 10 May 2017 11:49:36 +0200

On Wed, 10 May 2017 09:31:22 +0200
José Bollo <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]