]> git.ipfire.org Git - thirdparty/curl.git/commit
http: h1/h2 proxy unification
authorStefan Eissing <stefan@eissing.org>
Wed, 6 Sep 2023 12:43:22 +0000 (14:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 25 Sep 2023 18:12:18 +0000 (20:12 +0200)
commitbb4032a152ba3c8dbce93ad7a6e9268f23996746
tree3bdb8dd993560dbc60902ca08cff5d08721532ec
parent9c7165e96a3a9a2d0b7059c87c699b5ca8cdae93
http: h1/h2 proxy unification

- use shared code for setting up the CONNECT request
  when tunneling, used in HTTP/1.x and HTTP/2 proxying
- eliminate use of Curl_buffer_send() and other manipulations
  of `data->req` or `data->state.ulbuf`

Closes #11808
lib/cf-h1-proxy.c
lib/cf-h2-proxy.c
lib/dynhds.c
lib/http1.c
lib/http1.h
lib/http_proxy.c
lib/http_proxy.h