kent williams via curl-library
2021-04-20 19:08:04 UTC
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
Etique
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
Etique