Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyper: Fixxed tests 580 and 581 for the hyper backend #8707

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/c-hyper.c
Expand Up @@ -904,6 +904,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
hyper_clientconn_options_http2(options, 1);
h2 = TRUE;
}
hyper_clientconn_options_set_preserve_header_case(options, 1);
hyper_clientconn_options_set_preserve_header_order(options, 1);

hyper_clientconn_options_exec(options, h->exec);

Expand Down
3 changes: 3 additions & 0 deletions lib/http_proxy.c
Expand Up @@ -767,6 +767,9 @@ static CURLcode CONNECT(struct Curl_easy *data,
}

options = hyper_clientconn_options_new();
hyper_clientconn_options_set_preserve_header_case(options, 1);
hyper_clientconn_options_set_preserve_header_order(options, 1);

if(!options) {
failf(data, "Couldn't create hyper client options");
result = CURLE_OUT_OF_MEMORY;
Expand Down
2 changes: 0 additions & 2 deletions tests/data/DISABLED
Expand Up @@ -45,8 +45,6 @@
357
565
579
580
581
587
670
671
Expand Down