Commit a3e9a04
committed
BUG/MEDIUM: mux-h1: Skip UNUSED htx block when formating the start line
UNUSED blocks were not properly handled when the H1 multiplexer was
formatting the start line of a request or a response. UNUSED was ignored but
not removed from HTX message. So the mux can loop infinitly on such block.
It could be seen a a major issue but in fact it happens only if a very
specific case on the reponse processing (at least I think so): the server
must send an interim message (a 100-continue for intance) with the final
response. HAProxy must receive both in same time and the final reponse must
be intercepted (via a http-response return action for instance), In that
case, the interim message is fowarded and the server final reponse is
removed and replaced by a proxy error message.
Now UNUSED htx blocks are properly skipped and removed.
This patch must be backported as far as 3.0.1 parent be68ecc commit a3e9a04
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2488 | 2488 | | |
2489 | 2489 | | |
2490 | 2490 | | |
2491 | | - | |
| 2491 | + | |
| 2492 | + | |
2492 | 2493 | | |
| 2494 | + | |
2493 | 2495 | | |
2494 | 2496 | | |
2495 | 2497 | | |
| |||
2577 | 2579 | | |
2578 | 2580 | | |
2579 | 2581 | | |
2580 | | - | |
| 2582 | + | |
| 2583 | + | |
2581 | 2584 | | |
| 2585 | + | |
2582 | 2586 | | |
2583 | 2587 | | |
2584 | 2588 | | |
| |||
0 commit comments