mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-26 06:32:13 +00:00
MINOR: mux-h2: stop on non-DATA and non-EOM HTX blocks
We don't want to send such blocks as DATA frames if they were ever to appear, let's quit when meeting them.
This commit is contained in:
parent
ee57376ffb
commit
2fb1d4caaa
@ -4283,6 +4283,9 @@ static size_t h2s_htx_frt_make_resp_data(struct h2s *h2s, struct htx *htx, size_
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type != HTX_BLK_DATA && type != HTX_BLK_EOM)
|
||||||
|
goto end;
|
||||||
|
|
||||||
/* for DATA and EOM we'll have to emit a frame, even if empty */
|
/* for DATA and EOM we'll have to emit a frame, even if empty */
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user