diff options
-rw-r--r-- | lib/config-os400.h | 3 | ||||
-rw-r--r-- | packages/OS400/README.OS400 | 1 | ||||
-rw-r--r-- | packages/OS400/ccsidcurl.c | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/lib/config-os400.h b/lib/config-os400.h index b6b29a525..14c685ae7 100644 --- a/lib/config-os400.h +++ b/lib/config-os400.h @@ -540,6 +540,9 @@ /* Define to use the GSKit package. */ #define USE_GSKIT +/* Define to use Unix sockets. */ +#define USE_UNIX_SOCKETS + /* Use the system keyring as the default CA bundle. */ #define CURL_CA_BUNDLE "/QIBM/UserData/ICSS/Cert/Server/DEFAULT.KDB" diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index 6f8f58fad..99b606c89 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -113,6 +113,7 @@ options: CURLOPT_TLSAUTH_PASSWORD CURLOPT_TLSAUTH_TYPE CURLOPT_TLSAUTH_USERNAME + CURLOPT_UNIX_SOCKET_PATH CURLOPT_URL CURLOPT_USERAGENT CURLOPT_USERNAME diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 2dd7bcb92..d0e6827b7 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1114,7 +1114,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) if(testwarn) { testwarn = 0; - if((int) STRING_LASTZEROTERMINATED != (int) STRING_BEARER + 1 || + if((int) STRING_LASTZEROTERMINATED != (int) STRING_UNIX_SOCKET_PATH + 1 || (int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1) curl_mfprintf(stderr, "*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n"); @@ -1174,6 +1174,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) case CURLOPT_TLSAUTH_PASSWORD: case CURLOPT_TLSAUTH_TYPE: case CURLOPT_TLSAUTH_USERNAME: + case CURLOPT_UNIX_SOCKET_PATH: case CURLOPT_URL: case CURLOPT_USERAGENT: case CURLOPT_USERNAME: |