aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2021-10-03 17:48:18 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2021-10-03 18:34:04 +0000
commit5e04d591a2c56b667d0b35286366970568c1cc9c (patch)
tree7f0f5d50fa2692cbfd23f909295ef7dfc3df91f4
parent48e692a2edbe6bdf5c281e87b01047b91fe1bbed (diff)
downloadports-5e04d591a2c56b667d0b35286366970568c1cc9c.tar.gz
ports-5e04d591a2c56b667d0b35286366970568c1cc9c.zip
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)
-rw-r--r--net/haproxy/Makefile1
-rw-r--r--net/haproxy/files/patch-src_filters.c11
2 files changed, 12 insertions, 0 deletions
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;
+ }