]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: move HTTP/2 stream vars into local context
authorStefan Eissing <stefan@eissing.org>
Thu, 6 Apr 2023 09:59:12 +0000 (11:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Apr 2023 14:27:50 +0000 (16:27 +0200)
commit632e0fbe708a90d3430937699e99797095fa27eb
tree276a4b2ec3956175ddda2e4ef5845d3c18ec0310
parent4ae2d9f24d3ba506f828df69357ac80b346348de
http2: move HTTP/2 stream vars into local context

- remove NGHTTP2 members of `struct HTTP`
- add `void *h2_ctx` to `struct HTTP`
- add `void *h3_ctx` to `struct HTTP`
- separate h2/h3 pointers are needed for eyeballing
- manage local stream_ctx in http implementations

Closes #10877
lib/http.h
lib/http2.c
lib/vquic/curl_msh3.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_quiche.c