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

Reply via email to