]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: make h2_snd_buf() HTX-aware
authorWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 17:59:00 +0000 (18:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 22:27:07 +0000 (23:27 +0100)
commitbcd3bb3ca224c5e28881051b3aae51e085a0110f
treed142c66070c212988498a5e113767bfdcba14769
parent86724e2e8ad031782f9914f5c25213c81853bec1
MEDIUM: mux-h2: make h2_snd_buf() HTX-aware

Now h2_snd_buf() will check the proxy's mode to decide whether to use
HTX-specific send functions or legacy functions. In HTX mode, the HTX
blocks of the output buffer will be parsed and the related functions
will be called accordingly based on the block type, and unimplemented
blocks will be skipped. For now all blocks are skipped, this is only
helpful for debugging.
src/mux_h2.c