zephyr/samples/net/prometheus/src
Matt Rodgers ddaeb1379a net: http_server: fix header capture on concurrent http2 streams
Concurrent HTTP POST requests on different HTTP2 concurrent streams
require that the client's header_capture_context is re-used to capture
headers on a second stream before all of the body data has been received
(and sent to the application) on the first stream.

As a result, any captured headers must be sent to the application
callback before any headers can be received on a different stream. In
practice this means that for HTTP2 the application callback is called
for the first time on receiving a headers frame, before any data frames
are received. All subsequent application callbacks will not include the
request header data.

While this mechanism is not necessary for HTTP1, it is also updated to
only send headers in the first application callback for consistency.

Fixes #82273

Signed-off-by: Matt Rodgers <mrodgers@witekio.com>
2024-12-04 14:13:24 -05:00
..
ca.der
certificate.h
dummy_psk.h
https-server-cert.der
https-server-key.der
main.c net: http_server: fix header capture on concurrent http2 streams 2024-12-04 14:13:24 -05:00
server_privkey.der
server.der
stats.c net: http_server: fix header capture on concurrent http2 streams 2024-12-04 14:13:24 -05:00