summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-25 23:08:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-10-25 23:08:54 +0100
commit96450a1a33ec22cb54b20dbac08ebdf14648582f (patch)
treec3beaaf86442d1934d74a7902e53d29edb4a9a48 /lib/url.c
parente2bcdf557b16962af51a34ce493c4375e24895a7 (diff)
downloadcurl-96450a1a33ec22cb54b20dbac08ebdf14648582f.tar.gz
alt-svc: enable by default
Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported. alt-svc support in curl is no longer considered experimental Closes #5868
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 8af33c040..0176517d9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3095,7 +3095,7 @@ static CURLcode parse_connect_to_slist(struct Curl_easy *data,
conn_to_host = conn_to_host->next;
}
-#ifdef USE_ALTSVC
+#ifndef CURL_DISABLE_ALTSVC
if(data->asi && !host && (port == -1) &&
((conn->handler->protocol == CURLPROTO_HTTPS) ||
#ifdef CURLDEBUG