]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: centralize transfer of decoded frames in h2_rcv_buf()
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Feb 2018 14:50:05 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Jul 2018 17:21:43 +0000 (19:21 +0200)
commit454b57b3475cbb9558d2e1d332baff9b7cb1829f
treebf21741c408cf08367b1cd929fd4591b424b1a10
parentd755ea6c7deecac5ca76c3a5e13472dd52ecc975
MEDIUM: h2: centralize transfer of decoded frames in h2_rcv_buf()

We still call the parser but it should soon not be needed anymore. The
decode functions don't need the buffer nor the max size anymore. They
must also not touch the CS_FL_EOS or CS_FL_RCV_MORE flags either, so
this is done within h2_rcv_buf() after transmission.

The "flags" argument to h2_frt_decode_headers() and h2_frt_transfer_data()
has been removed since it's not used anymore.
src/mux_h2.c