|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2813123 ] HTTP reuse + redirect + auth bug
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 08 Jul 2009 07:00:56 +0000
Bugs item #2813123, was opened at 2009-06-27 05:05
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Behavior seen (with curl_multi - may happen with easy too):
Url A is accessed using auth. Url A redirects to Url B (on a different server0. Url B reuses a persistent connection. Url B has auth, even though it's on a different server.
Note: if Url B does not reuse a persistent connection, auth is not sent.
reason:
data->state.first_host is not initialized becuase Curl_http_connect is not called when a connection is reused.
Solution:
move initialization of data->state.first_host to Curl_http. No code before Curl_http uses data->state.first_host anyway.
Patch might also fix issue at http://curl.haxx.se/mail/lib-2009-04/0354.html
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info