commit | 2fb1d4caaae583d68aed5e605eb3a0c07d87a714 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Dec 04 15:28:03 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 04 18:32:39 2018 +0100 |
tree | eaa5115e2ba7bf6bd30ee489ed92e63e42f92e17 | |
parent | ee57376ffb954aff109d5df062a4a2228bfa6793 [diff] |
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.
diff --git a/src/mux_h2.c b/src/mux_h2.c index 3cc3984..5585ac2 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c
@@ -4283,6 +4283,9 @@ 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 */ while (1) {