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
This commit is contained in:
Daniel Stenberg 2019-08-05 09:45:23 +02:00
parent 4173868f66
commit a42b0957ab
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 59 additions and 30 deletions

View file

@ -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)