]> git.ipfire.org Git - thirdparty/curl.git/commit
http: move headers collecting to writer
authorStefan Eissing <stefan@eissing.org>
Tue, 6 Feb 2024 12:55:07 +0000 (13:55 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Feb 2024 08:44:15 +0000 (09:44 +0100)
commit2abfa3833b01dd909ab4bd6fbb3d2b54a5e31be7
treeaa4668dc8c60f3f6aef963ad21c834e6ad5263e5
parent5b41fac587b55b489bdf8355306472bf7315ffbc
http: move headers collecting to writer

- add a client writer that does "push" response
  headers written to the client if the headers api
  is enabled
- remove special handling in sendf.c
- needs to be installed very early on connection
  setup to catch CONNECT response headers

Closes #12880
lib/headers.c
lib/headers.h
lib/http.c
lib/sendf.c
lib/sendf.h
lib/url.c