]> git.ipfire.org Git - thirdparty/curl.git/commit
http: move header storage to Curl_easy from connectdata
authorDaniel Stenberg <daniel@haxx.se>
Mon, 15 Jun 2020 09:28:17 +0000 (11:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 15 Jun 2020 20:56:25 +0000 (22:56 +0200)
commite15e51384a423be31318b3c9c7d612a1aae661fd
tree58d9a981811efc730b9768d87419df738cb21f10
parent350a99b21f8c89db2d027d9a5c83ed5df72d65ea
http: move header storage to Curl_easy from connectdata

Since the connection can be used by many independent requests (using
HTTP/2 or HTTP/3), things like user-agent and other transfer-specific
data MUST NOT be kept connection oriented as it could lead to requests
getting the wrong string for their requests. This struct data was
lingering like this due to old HTTP1 legacy thinking where it didn't
mattered..

Fixes #5566
Closes #5567
lib/curl_ntlm_wb.c
lib/http.c
lib/http_digest.c
lib/http_digest.h
lib/http_negotiate.c
lib/http_ntlm.c
lib/http_proxy.c
lib/rtsp.c
lib/url.c
lib/urldata.h