cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Regression in 7.28 (and 7.27) with HTTP Digest authentication and connection reuse

From: Joe Mason <jmason_at_rim.com>
Date: Sun, 14 Oct 2012 22:34:38 +0000

> From: curl-library [curl-library-bounces_at_cool.haxx.se] on behalf of Joe Mason
> [jmason_at_rim.com]
>
> Off the top of my head, instead of zeroing auth->picked, maybe we should AND
> it with auth->wanted, so that it only gets zeroed if the formerly picked auth
> is no longer specified.

Although that's not right either, because if the user chooses CURLAUTH_BASIC, auth->picked gets set to basic, and then they send another request with CURLAUTH_BASIC | CURLAUTH_DIGEST, we want to upgrade to digest, not stick with basic...

Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-15