docs: CURLOPT_LOGIN_OPTIONS is a login property

Test case 1982 verifies this

Closes #21215
This commit is contained in:
Daniel Stenberg 2026-04-04 11:21:37 +02:00
parent e96cb8b1d8
commit d2110e7fcf
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 63 additions and 1 deletions

View file

@ -51,6 +51,15 @@ option.
Using this option multiple times makes the last set string override the
previous ones. Set it to NULL to disable its use again.
CURLOPT_LOGIN_OPTIONS(3) is a *login property*, it does not change the
security context. This means that this option changes how the login happens
when a connection is created, but it does not affect which connections libcurl
can reuse. libcurl may reuse a connection that was set up with a different
options string; a different options string does not by itself prevent reuse.
Connection reuse still depends on other connection properties matching, such
as the protocol, hostname, port number, credentials and other settings that
affect the connection.
# DEFAULT
NULL