]> git.ipfire.org Git - thirdparty/curl.git/commit
Curl_http(), decomplexify
authorStefan Eissing <stefan@eissing.org>
Mon, 1 Sep 2025 13:52:30 +0000 (15:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 2 Sep 2025 05:54:46 +0000 (07:54 +0200)
commit4d040c71d7e611a0e5e9114c81eb6469a02090ea
treed4651ecad0581d744a0d5d050ab853894ba6ff1d
parente00cb001c69b1cc2f4a1035445860685bd904ec4
Curl_http(), decomplexify

Split out adding of individual request headers into a switch. Check
the connection http version only on fresh connections, use separate
methods.

Add TE: header directly without allocation. Add bit for indicating
Connection: header has been added and custom headers should not do
that again.

Closes #18444
25 files changed:
lib/http.c
lib/http.h
lib/http2.c
lib/http_aws_sigv4.c
lib/http_proxy.c
lib/url.c
lib/urldata.h
lib/ws.c
tests/data/test1122
tests/data/test1123
tests/data/test1124
tests/data/test1125
tests/data/test1170
tests/data/test1171
tests/data/test1277
tests/data/test1546
tests/data/test1704
tests/data/test1800
tests/data/test2300
tests/data/test2301
tests/data/test2302
tests/data/test2303
tests/data/test2304
tests/data/test387
tests/data/test418