diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-12 19:01:04 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-12 19:08:55 +0000 |
commit | f2584627c8314b5954645ed4e05f48868928bd87 (patch) | |
tree | 23d3eb15bab917bee8ade395c83d08a44f90c32c /packages/OS400 | |
parent | 6901861fc97f0b3cb9ee8590c449ab6aa2fe0500 (diff) |
curl_easy_setopt: Added the ability to set the login options separately
Rather than set the authentication options as part of the login details
specified in the URL, or via the older CURLOPT_USERPWD option, added a
new libcurl option to allow the login options to be set separately.
Diffstat (limited to 'packages/OS400')
-rw-r--r-- | packages/OS400/README.OS400 | 1 | ||||
-rw-r--r-- | packages/OS400/ccsidcurl.c | 1 | ||||
-rw-r--r-- | packages/OS400/curl.inc.in | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 4a39738a9..62918c9b7 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -89,6 +89,7 @@ options: CURLOPT_MAIL_AUTH CURLOPT_NETRC_FILE CURLOPT_NOPROXY + CURLOPT_OPTIONS CURLOPT_PASSWORD CURLOPT_PROXY CURLOPT_PROXYPASSWORD diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index e312c71ae..923bb1bdb 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1145,6 +1145,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_MAIL_AUTH: case CURLOPT_NETRC_FILE: case CURLOPT_NOPROXY: + case CURLOPT_OPTIONS: case CURLOPT_PASSWORD: case CURLOPT_PROXY: case CURLOPT_PROXYPASSWORD: diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index edd516740..dfc172cd2 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -1180,6 +1180,8 @@ d c 10222 d CURLOPT_DNS_LOCAL_IP6... d c 10223 + d CURLOPT_OPTIONS... + d c 10224 * /if not defined(CURL_NO_OLDIES) d CURLOPT_SSLKEYPASSWD... |