git: 5e04d591a2c5 - main - net/haproxy: Fix a stalled connection

Matthias Fechner mfechner at FreeBSD.org
Sun Oct 3 18:34:27 UTC 2021


The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e04d591a2c56b667d0b35286366970568c1cc9c

commit 5e04d591a2c56b667d0b35286366970568c1cc9c
Author:     Matthias Fechner <mfechner at FreeBSD.org>
AuthorDate: 2021-10-03 17:48:18 +0000
Commit:     Matthias Fechner <mfechner at FreeBSD.org>
CommitDate: 2021-10-03 18:34:04 +0000

    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(+)

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;
+ }


More information about the dev-commits-ports-all mailing list