cURL / Mailing Lists / curl-library / Single Mail


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

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

> From: curl-library [] on behalf of Joe Mason
> []
> 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...

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:
Received on 2012-10-15