I somehow doubt you got an error from MHD_create_response_from_buffer(),
that's, eh, very rare (pretty much always indicates out of memory).

I speculate that you meant you got an error from MHD_queue_response(),
which is what will happen if you try to do 'resume' and 'queue' within
the same function. You need to wait until MHD calls _you_ again (to the
main request callback) until you are allowed to queue the response.

On 08/22/2016 09:36 PM, Geetha Shanmugam wrote:
> 5. Function send_final_response() in process P1, *resumes the connection*
> and sends the response received from process P2
> using MHD_create_response_from_buffer().
> 6. MHD_create_response_from_buffer return error and the response is not
> sent out.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to