libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Failing send response to POST message


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Failing send response to POST message
Date: Thu, 27 Oct 2011 23:27:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11

You need to wait until your callback is called with an *upload_size of 0 (MHD does *incremental* post-processing!). Then you can queue the reply.

Happy hacking!

Christian

On 10/27/2011 07:55 PM, Avner Flesch wrote:
Hi,

I am using the post process to handle POST message.
After that I want to send response but the "MHD_queue_response" failed
seems because the connection state is
"MHD_CONNECTION_CONTINUE_SENT" (6).
What am I missing?

Thanks

Avner Flesch





reply via email to

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