From a42b0957ab31c971a79bfe5542b3017fd834ac49 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Aug 2019 09:45:23 +0200 Subject: 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 --- src/tool_cfgable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c index 7d178e47c..76febc9c9 100644 --- a/src/tool_cfgable.c +++ b/src/tool_cfgable.c @@ -43,7 +43,7 @@ void config_init(struct OperationConfig* config) config->proto_default = NULL; config->tcp_nodelay = TRUE; /* enabled by default */ config->happy_eyeballs_timeout_ms = CURL_HET_DEFAULT; - config->http09_allowed = TRUE; + config->http09_allowed = FALSE; } static void free_config_fields(struct OperationConfig *config) -- cgit v1.2.1