http: extendable conn/req ctx and multiplexing 62/42462/7
authorMatus Fabian <[email protected]>
Fri, 7 Mar 2025 13:02:42 +0000 (08:02 -0500)
committerFlorin Coras <[email protected]>
Mon, 24 Mar 2025 17:03:48 +0000 (17:03 +0000)
commit8e50ec8dcadc33f057a621efbfdc948fd414784e
treee595359420cf0e92c742fe882fb20f82ebee6c35
parent7aebf804fe0050d4a48aab591b55f026e8dcc4c4
http: extendable conn/req ctx and multiplexing

multiplexing support:
- set request index as connection_index in application session
- do not allocate app session/http req immediately in
  http_ts_accept_callback but wait for request/stream opening

HTTP version specific data in connection and request ctx:
- opaque pointer in http_conn_t
- req_pool manged entirely by specific version engine

Version specific configuration:
- added name to http_engine_vft_t
- added unformat_cfg_callback (optional) to http_engine_vft_t

Type: improvement

Change-Id: Ib43f0489337a222a68b0f81d45cb2e64b2c606c0
Signed-off-by: Matus Fabian <[email protected]>
extras/hs-test/http_test.go
src/plugins/http/http.c
src/plugins/http/http1.c
src/plugins/http/http_private.h
src/plugins/http/http_timer.h