MINOR: h2: make each H2 stream support an intermediary input buffer
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Feb 2018 14:22:17 +0000 (15:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Jul 2018 17:21:43 +0000 (19:21 +0200)
commit0b559071dd7c08af89fc5ebcc29a8d14e3bc470c
tree6fc7a8887404daf67307d9d7180745deb9d9f147
parent67b1e78f6818b121ffb8fc42c61fd2653b82fca7
MINOR: h2: make each H2 stream support an intermediary input buffer

The purpose is to decode to a temporary buffer and then to copy this buffer
to the caller upon request to avoid having to process frames on the fly
when called from the higher level. For now the buffer is only initialized
on stream creation via cs_new() and allocated if the buffer_wait's callback
is called.
src/mux_h2.c