GNURLOPT_PROXY_TLSAUTH_PASSWORD(3)
π
CURLOPT_PROXY_TLSAUTH_PASSWORD β GNURLOPT_PROXY_TLSAUTH_PASSWORD(3), a curl_easy_setopt options page from the gnurl section 3 manual π
πΈ NAME πΈ
CURLOPT_PROXY_TLSAUTH_PASSWORD β the password to use for proxy TLS authentication, periodt.
β¨ SYNOPSIS β¨
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_TLSAUTH_PASSWORD,
char *pwd);
π¦ DESCRIPTION π¦
Okay so bestie, you pass a char * as the parameter, and it should point to the null-terminated password to use for the TLS authentication method specified with the CURLOPT_PROXY_TLSAUTH_TYPE(3) option. This one requires that the CURLOPT_PROXY_TLSAUTH_USERNAME(3) option also be set β both pieces, no skipping.
The application does not have to keep the string around after setting this option. Set it, hand it over, and let it live its life, iykyk.
π DEFAULT π
NULL β literally nothing is set by default.
π PROTOCOLS π
All β every protocol, no cap.
β EXAMPLE β
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
curl_easy_setopt(curl, CURLOPT_PROXY, "https://proxy");
curl_easy_setopt(curl, CURLOPT_PROXY_TLSAUTH_TYPE, "SRP");
curl_easy_setopt(curl, CURLOPT_PROXY_TLSAUTH_USERNAME, "user");
curl_easy_setopt(curl, CURLOPT_PROXY_TLSAUTH_PASSWORD, "secret");
ret = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
π§ AVAILABILITY π§
Added in 7.52.0 β that's when this icon entered the chat.
π₯ RETURN VALUE π₯
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. Heap space matters, bestie.
π SEE ALSO π
CURLOPT_PROXY_TLSAUTH_TYPE(3)CURLOPT_PROXY_TLSAUTH_USERNAME(3)CURLOPT_TLSAUTH_TYPE(3)CURLOPT_TLSAUTH_USERNAME(3),
xoxo, from the libcurl 7.52.0 manual, dated 16 Nov 2016 π
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms