Le 10/2/21 à 10:54 AM, Matthias Fechner a écrit :
Am 01.10.2021 um 18:09 schrieb Christopher Faulet:
HAProxy 2.4.5 was released on 2021/10/01. It added 69 new commits
after version 2.4.4.

Damned ! You're right...

It is a typo in the commit feca2a453 ("BUG/MINOR: filters: Always set FLT_END analyzer when CF_FLT_ANALYZE flag is set"). It also affects the 2.5-DEV.

The patch is pretty simple:

diff --git a/src/filters.c b/src/filters.c
index 136a3e80b..f64c192bd 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -475,7 +475,7 @@ flt_stream_start(struct stream *s)
        }
        if (strm_li(s) && (strm_li(s)->analysers & AN_REQ_FLT_START_FE)) {
                s->req.flags |= CF_FLT_ANALYZE;
-               s->req.analysers |= AN_RES_FLT_END;
+               s->req.analysers |= AN_REQ_FLT_END;
        }
        return 0;
 }


I will push a fix. As a workaround, you can temporarily disable the HTTP compression filter.

Thanks for the report !

--
Christopher Faulet

Reply via email to