mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
MEDIUM: mux-h2: pass trailers to HTX
When receiving an H2 message in HTX mode, trailers present in chunked messages are now properly appended to the HTX block.
This commit is contained in:
parent
1e1f27c5c1
commit
5255f283f6
@ -3460,9 +3460,8 @@ next_frame:
|
||||
if (htx) {
|
||||
if (!htx_add_endof(htx, HTX_BLK_EOD))
|
||||
goto fail;
|
||||
/* FIXME: emit the decoded trailers here. EOM will be sent
|
||||
* when leaving.
|
||||
*/
|
||||
if (h2_make_htx_trailers(list, htx) <= 0)
|
||||
goto fail;
|
||||
}
|
||||
else if (*flags & H2_SF_DATA_CHNK) {
|
||||
/* Legacy mode with chunked encoding : we must finalize the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user