Introduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
This commit is contained in:
parent
4acbe8f20c
commit
f66e1c49b0
@ -103,6 +103,8 @@ options:
|
|||||||
CURLOPT_ISSUERCERT
|
CURLOPT_ISSUERCERT
|
||||||
CURLOPT_USERNAME
|
CURLOPT_USERNAME
|
||||||
CURLOPT_PASSWORD
|
CURLOPT_PASSWORD
|
||||||
|
CURLOPT_PROXYUSERNAME
|
||||||
|
CURLOPT_PROXYPASSWORD
|
||||||
Else it is the same as for curl_easy_setopt().
|
Else it is the same as for curl_easy_setopt().
|
||||||
Note that CURLOPT_ERRORBUFFER is not in the list above, since it gives the
|
Note that CURLOPT_ERRORBUFFER is not in the list above, since it gives the
|
||||||
address of an (empty) character buffer, not the address of a string.
|
address of an (empty) character buffer, not the address of a string.
|
||||||
|
@ -1030,7 +1030,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
|
|||||||
if (testwarn) {
|
if (testwarn) {
|
||||||
testwarn = 0;
|
testwarn = 0;
|
||||||
|
|
||||||
if ((int) STRING_LAST != (int) STRING_PASSWORD + 1)
|
if ((int) STRING_LAST != (int) STRING_PROXYPASSWORD + 1)
|
||||||
curl_mfprintf(stderr,
|
curl_mfprintf(stderr,
|
||||||
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
|
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
|
||||||
}
|
}
|
||||||
@ -1077,6 +1077,8 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
|
|||||||
case CURLOPT_ISSUERCERT:
|
case CURLOPT_ISSUERCERT:
|
||||||
case CURLOPT_USERNAME:
|
case CURLOPT_USERNAME:
|
||||||
case CURLOPT_PASSWORD:
|
case CURLOPT_PASSWORD:
|
||||||
|
case CURLOPT_PROXYUSERNAME:
|
||||||
|
case CURLOPT_PROXYPASSWORD:
|
||||||
s = va_arg(arg, char *);
|
s = va_arg(arg, char *);
|
||||||
ccsid = va_arg(arg, unsigned int);
|
ccsid = va_arg(arg, unsigned int);
|
||||||
|
|
||||||
|
@ -786,6 +786,10 @@
|
|||||||
d c 10173
|
d c 10173
|
||||||
d CURLOPT_PASSWORD...
|
d CURLOPT_PASSWORD...
|
||||||
d c 10174
|
d c 10174
|
||||||
|
d CURLOPT_PROXYUSERNAME...
|
||||||
|
d c 10175
|
||||||
|
d CURLOPT_PROXYPASSWORD...
|
||||||
|
d c 10176
|
||||||
*
|
*
|
||||||
d CURLOPT_POST301...
|
d CURLOPT_POST301...
|
||||||
d c 00161 Obsolescent
|
d c 00161 Obsolescent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user