curl-library
Re: Problem with credentials and keep-alive
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 14 Dec 2004 22:23:03 +0100 (CET)
Date: Tue, 14 Dec 2004 22:23:03 +0100 (CET)
On Tue, 14 Dec 2004, Harshal Pradhan wrote:
> curl_easy_setopt(handle, CURLOPT_USERPWD, "newuser:newpass");
>
> on an recycled handle will not override previously set (user,password)
> credentials if we are dealing with an underlying keep-alive reused
> connection. Is this behavior intentional?
No, it is a plain bug.
Thanks for the report and the patch. I could repeat it fine, so I wrote test
case 519 that now verifies the fix!
Committed just now!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-12-14