summaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-22 09:08:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-24 00:25:09 +0200
commit2af56e05b699fad2d58ae01beac71871294c1026 (patch)
tree03d38faa69e0a5f974bb32b5ce32484bdf25af15 /lib/setopt.c
parent67dede842adff126329b611a055608320e88a7b0 (diff)
downloadcurl-bagder/enable-altsvc.tar.gz
alt-svc: enable by defaultbagder/enable-altsvc
Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported. alt-svc support in curl is no longer considered experimental Closes #5868
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index fa5398215..3b96289c2 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2839,7 +2839,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
data->set.trailer_data = va_arg(param, void *);
#endif
break;
-#ifdef USE_ALTSVC
+#ifndef CURL_DISABLE_ALTSVC
case CURLOPT_ALTSVC:
if(!data->asi) {
data->asi = Curl_altsvc_init();