File 0001-BUG-MEDIUM-mux-h2-Refuse-interim-responses-with-end-.patch of Package haproxy.30279

--- haproxy-2.0.14/src/mux_h2.c.orig	2023-01-18 13:55:24.444198376 +0100
+++ haproxy-2.0.14/src/mux_h2.c	2023-01-18 14:05:25.607618911 +0100
@@ -3800,6 +3800,11 @@
 		 * EOM block, the two must be atomic. Thus if we fail to emit
 		 * the EOM block we must remove the TLR block we've just added.
 		 */
+		if (msgf & H2_MSGF_RSP_1XX) {
+			/* RFC9113#8.1 : HEADERS frame with the ES flag set that carries an informational status code is malformed */
+                	goto fail;
+		}
+
 		if (htx) {
 			if (!htx_add_endof(htx, HTX_BLK_EOM))
 				goto fail;
openSUSE Build Service is sponsored by