cf-h1-proxy: support folded headers in CONNECT responses

Update test 1941 to verify this

Remove unused code from dynhds for handling folded headers, and the
associated unit tests of those functions in test 2602 and 2603.

Closes #20080
This commit is contained in:
Daniel Stenberg 2025-12-23 13:54:12 +01:00
parent cb9db70dbe
commit 7e064d0756
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
7 changed files with 143 additions and 154 deletions

View file

@ -13,7 +13,8 @@ CONNECT
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test with trailing space%repeat[5 x ]%
Content-Type: text/html
Content-Type:
%SPtext/html
Content-Length: 0
Set-Cookie: onecookie=data;
Set-Cookie: secondcookie=2data;
@ -23,7 +24,9 @@ Location: /%TESTNUMBER0002
</data>
<connect crlf="headers">
HTTP/1.1 200 Sure go ahead
Server: from the connect
Server: from%SP
%SPthe%TAB
%TAB%TABconnect
Silly-thing: yes yes
</connect>