summaryrefslogtreecommitdiff
path: root/packages/OS400/ccsidcurl.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2019-03-17 18:54:36 +0100
committerPatrick Monnerat <patrick@monnerat.net>2019-03-17 18:54:36 +0100
commit520f0b47ad8463979e0ce0b5d08b461fa0bc74b8 (patch)
tree457849747f80d4f94933a0fd010fe8b1a2e193eb /packages/OS400/ccsidcurl.c
parente3a53e3efb942a5446a22725340e36af63f1632e (diff)
downloadcurl-520f0b47ad8463979e0ce0b5d08b461fa0bc74b8.tar.gz
os400: alt-svc support.
Although experimental, enable it in the platform config file. Upgrade ILE/RPG binding.
Diffstat (limited to 'packages/OS400/ccsidcurl.c')
-rw-r--r--packages/OS400/ccsidcurl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index 7ce61aa9f..eae2c5751 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -1132,7 +1132,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
if(testwarn) {
testwarn = 0;
- if((int) STRING_LASTZEROTERMINATED != (int) STRING_DOH + 1 ||
+ if((int) STRING_LASTZEROTERMINATED != (int) STRING_ALTSVC + 1 ||
(int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1)
curl_mfprintf(stderr,
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
@@ -1144,6 +1144,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
switch (tag) {
case CURLOPT_ABSTRACT_UNIX_SOCKET:
+ case CURLOPT_ALTSVC:
case CURLOPT_CAINFO:
case CURLOPT_CAPATH:
case CURLOPT_COOKIE: