From f2584627c8314b5954645ed4e05f48868928bd87 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 12 Nov 2013 19:01:04 +0000 Subject: 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. --- packages/OS400/README.OS400 | 1 + packages/OS400/ccsidcurl.c | 1 + packages/OS400/curl.inc.in | 2 ++ 3 files changed, 4 insertions(+) (limited to 'packages/OS400') 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... -- cgit v1.2.3