curl-users
RE: Curl re-uses old POST data in GET requests on same handle (7.12.3)
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 11 Jan 2005 14:56:17 +0100 (CET)
Date: Tue, 11 Jan 2005 14:56:17 +0100 (CET)
On Tue, 11 Jan 2005, Cyrill Osterwalder wrote:
> In 7.12.2 it was enough to do the following on an existing handle to switch
> to a GET request and it worked even after previous POSTs:
> curl_easy_setopt(curl_handle, CURLOPT_HTTPGET, 1);
> curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS, NULL);
Hm, this _should_ work for 7.12.3 too. You seem to have fallen over (yet
another) bug.
Can you write up a small example source that shows this problem? It'll make it
easier for me to repeat and fix it.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-11