mirror of
https://github.com/curl/curl.git
synced 2026-08-26 18:13:37 +03:00
curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool
This commit is contained in:
parent
a14d72ca2f
commit
a9499ff136
14 changed files with 358 additions and 4 deletions
|
|
@ -1501,6 +1501,10 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
if(config->mail_auth)
|
||||
my_setopt_str(curl, CURLOPT_MAIL_AUTH, config->mail_auth);
|
||||
|
||||
/* new in 7.66.0 */
|
||||
if(config->sasl_authzid)
|
||||
my_setopt_str(curl, CURLOPT_SASL_AUTHZID, config->sasl_authzid);
|
||||
|
||||
/* new in 7.31.0 */
|
||||
if(config->sasl_ir)
|
||||
my_setopt(curl, CURLOPT_SASL_IR, 1L);
|
||||
|
|
@ -1524,6 +1528,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
config->unix_socket_path);
|
||||
}
|
||||
}
|
||||
|
||||
/* new in 7.45.0 */
|
||||
if(config->proto_default)
|
||||
my_setopt_str(curl, CURLOPT_DEFAULT_PROTOCOL, config->proto_default);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue