aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-05 09:45:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-06 00:08:14 +0200
commita42b0957ab31c971a79bfe5542b3017fd834ac49 (patch)
treec43f89dc79552d3255c2477037f246086e4b90d2 /src/tool_cfgable.c
parent4173868f663c6fe7ecd1ba2abab20381002adc6b (diff)
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 'src/tool_cfgable.c')
-rw-r--r--src/tool_cfgable.c2
1 files changed, 1 insertions, 1 deletions
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)