From 5e04d591a2c56b667d0b35286366970568c1cc9c Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Sun, 3 Oct 2021 19:48:18 +0200 Subject: net/haproxy: Fix a stalled connection This fix fixes a typo in It is a typo in the commit feca2a453 ("BUG/MINOR: filters: Always set FLT_END analyzer when CF_FLT_ANALYZE flag is set"). Patch was provided on haproxy mailinglist from Christopher Faulet. PR: 258896 Approved by: demon (maintainer) --- net/haproxy/Makefile | 1 + net/haproxy/files/patch-src_filters.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 net/haproxy/files/patch-src_filters.c diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index f4c8cfa8211b..98ac76fa0a15 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -2,6 +2,7 @@ PORTNAME= haproxy DISTVERSION= 2.4.5 +PORTREVISION= 1 CATEGORIES= net www MASTER_SITES= http://www.haproxy.org/download/2.4/src/ diff --git a/net/haproxy/files/patch-src_filters.c b/net/haproxy/files/patch-src_filters.c new file mode 100644 index 000000000000..c716fec434bc --- /dev/null +++ b/net/haproxy/files/patch-src_filters.c @@ -0,0 +1,11 @@ +--- src/filters.c.orig 2021-10-03 17:40:24 UTC ++++ 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; + } -- cgit v1.2.3