It looks like calling curl_easy_reset before setting up the curl options
for a particular curl_easy_perform
On 4/20/2021 2:08 PM, kent williams wrote:
Ran into this.
I implemented using the same CURL handle across separate HTTP
requests, but it appears to screw things up in the case where I use it
after a PUT, if I've used CURLOPT_READDATA and CURLOPT_READFUNCTION.
How do I reset those options so that a subsequent GET request doesn't
try and use that put data?
Also if I set CURLOPT_CUSTOMREQUEST, how do I reset it?
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html