1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

test1147: hyper doesn't allow "crazy" request headers like built-in

... so strip that from the test.

Closes #7349
This commit is contained in:
Daniel Stenberg 2021-07-05 16:53:00 +02:00
parent a62ece3f57
commit c3d612662d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
3 changed files with 5 additions and 2 deletions

View File

@ -510,7 +510,7 @@ CURLcode Curl_hyper_header(struct Curl_easy *data, hyper_headers *headers,
if(HYPERE_OK != hyper_headers_add(headers, (uint8_t *)n, nlen,
(uint8_t *)v, vlen)) {
failf(data, "hyper_headers_add host");
failf(data, "hyper refused to add header '%s'", line);
return CURLE_OUT_OF_MEMORY;
}
if(data->set.verbose) {

View File

@ -95,7 +95,6 @@
1137
1138
1144
1147
1156
1160
1164

View File

@ -40,7 +40,9 @@ One: 1
Two: 2
no-colon
%if !hyper
And A Funny One : wohoo
%endif
User-Agent:
</file>
<command>
@ -57,7 +59,9 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
One: 1
Two: 2
%if !hyper
And A Funny One : wohoo
%endif
</protocol>
</verify>