Change #266978
| Category | None |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Wed 13 May 2026 14:04:17 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | 5e99b73cf441d9c369768b9cd48b5389b9a2503d |
Comments
creds: add sasl service name The SASL service name, used in authentication, is part of curl's credentials when authenticating to a server/proxy. Make it part of `struct Curl_creds`. Change code to use `creds` to obtain a service name. By tying creds used to the connection, connection reuse is also only allowed when the service name matches. Closes #21585
Changed files
- lib/creds.c
- lib/creds.h
- lib/curl_sasl.c
- lib/http_negotiate.c
- lib/http_ntlm.c
- lib/imap.c
- lib/netrc.c
- lib/openldap.c
- lib/pop3.c
- lib/socks.c
- lib/socks.h
- lib/socks_gssapi.c
- lib/socks_sspi.c
- lib/url.c
- lib/vauth/digest.c
- lib/vauth/digest_sspi.c
- lib/vauth/krb5_gssapi.c
- lib/vauth/krb5_sspi.c
- lib/vauth/ntlm.c
- lib/vauth/ntlm_sspi.c
- lib/vauth/spnego_gssapi.c
- lib/vauth/spnego_sspi.c
- lib/vauth/vauth.h
- tests/unit/unit1304.c