diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-05 09:45:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-06 00:08:14 +0200 |
commit | a42b0957ab31c971a79bfe5542b3017fd834ac49 (patch) | |
tree | c43f89dc79552d3255c2477037f246086e4b90d2 /lib/url.c | |
parent | 4173868f663c6fe7ecd1ba2abab20381002adc6b (diff) | |
download | curl-a42b0957ab31c971a79bfe5542b3017fd834ac49.tar.gz |
http09: disable HTTP/0.9 by default in both tool and library
As the plan has been laid out in DEPRECATED. Update docs accordingly and
verify in test 1174. Now requires the option to be set to allow HTTP/0.9
responses.
Closes #4191
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) set->upkeep_interval_ms = CURL_UPKEEP_INTERVAL_DEFAULT; set->maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */ set->maxage_conn = 118; - set->http09_allowed = TRUE; + set->http09_allowed = FALSE; set->httpversion = #ifdef USE_NGHTTP2 CURL_HTTP_VERSION_2TLS |