curl / Mailing Lists / curl-library / Single Mail


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

From: 杨俊 <>
Date: Tue, 17 Jan 2017 09:34:34 +0800

Hi guys,

Add more information.
After I got the 204 response, then I do POST again.
It seems the code didn't do the callback function of readFileFunc.
So it didn't upload the message and I'll get the NG result.
If I got the 200 response, then I do POST again.
It can do callback function of readFileFunc.
Then the result is OK.

Which I want is that I need re-use the curl_handle.
But now, it seems if I got the 204, I can't use the same curl_handle again.
Is my code wrong?


List admin:
Received on 2017-01-17