MINOR: mux-h1: Be prepare to fail when EOM is added during trailers parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 22 Nov 2018 10:44:35 +0000 (11:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commit1727648e108cb60ed48b2ee0949fa06f2b5768e8
treecab2f77816fb6b8b45d6ab086e3892ce60951471
parent3218821b708d9ec919d4465507d3dfb6e86b572f
MINOR: mux-h1: Be prepare to fail when EOM is added during trailers parsing

When trailers are parsed, we must add the corrresponsing HTX block and then we
must add the block end-of-message. But this last operation can failed because
there is not enough space the HTX message. This case was left aside till
now. Now, we stay in the state H1_MSG_TRAILERS with the warranty we will be able
to restart at the right stage.
src/mux_h1.c