Hi Vitaliy,
The example indeed had an issue in that it was trying to queue a
response during the upload (instead of at the end).
Fixed in 15a2570f..740a46dd
Happy hacking!
Christian
On 03/11/2017 05:09 AM, Vitaliy T wrote:
> Hi,
>
> I have started using libmicrohttpd and I am experienced a pr
Hello Christian,
On 11 March 2017 at 14:41, Christian Grothoff wrote:
> Fixed in 15a2570f..740a46dd
Thanks for the patch, it works.
There is nothing better then a sleep. I was afraid of that MHD_post_process()
will proceed a whole content of the file before creating a response.
Now, I see that
Still there is an issue with re-open a file. Patch applied below to avoid it.
Also iterate_post() always returns MHD_OK, because the app's logic driven
from the value of con_info->answercode().
And in case if fwrite() fails we also update the answer code & page and
MHD_post_process() overwrite th