]> git.ipfire.org Git - thirdparty/curl.git/commit
http: separate response parsing from response action
authorStefan Eissing <stefan@eissing.org>
Mon, 11 Mar 2024 16:23:15 +0000 (17:23 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 21 Mar 2024 08:34:40 +0000 (09:34 +0100)
commit0f08b43557df8151d0636f2f4e886db39be71887
tree18b012156c342bc3eb7eefa6e043cd5117219844
parent0c820427f2d38d2fc4e653aa3d058fc9135a9e50
http: separate response parsing from response action

- move code that triggers on end-of-response into separate function from
  parsing
- simplify some headp/headerlen usage
- add `httpversion` to SingleRequest to indicate the version of the
  current response

Closes #13134
lib/c-hyper.c
lib/http.c
lib/request.h