]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: make h2_process_demux() capable of processing responses as well
authorWilly Tarreau <w@1wt.eu>
Mon, 8 Oct 2018 12:53:27 +0000 (14:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 12:31:52 +0000 (13:31 +0100)
commitc12f38fe326baaac473dffe87d0d9f048096623d
tree55e915a847403b1c7d3a5254b839dc4ed8b940a5
parentc3e18f34482e32ae26459882f4719947279055df
MEDIUM: mux-h2: make h2_process_demux() capable of processing responses as well

The function now calls h2c_bck_handle_headers() or h2c_frt_handle_headers()
depending on the connection's side. The former doesn't create a new stream
but feeds an existing one. At this point it's possible to forward an H2
request to a backend server and retrieve the response headers.
src/mux_h2.c