curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: A string issue that after received the http 204, the curl_formadd function seems couldn't work again

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 18 Jan 2017 02:50:36 -0500

On 1/17/2017 7:58 PM, 杨俊 wrote:
> The program send this message to the server, then the server may
> return 200 or 204.
> If the program got the 200, at the next while(1), it could still send
> the header+json+micRing.
> If the program got the 204, at the next while(1), it seems just send
> the header.
> I can make sure that the program doesn't send the micRing.
> Because I add a printf in the readFileFunc which would be callback for
> micRing(If call the readFileFunc will alwasy printf, If didn't call no
> printf).
>
> I didn't know if my code is right.
> but the result is just like this. :(
> If you want more information, please tell me.

A self contained example with the bare minimum of code to reproduce this
issue would be great. Try to narrow down the code to the minimum
required to reproduce the problem.

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-18