Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2021 18:34:26 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5e04d591a2c5 - main - net/haproxy: Fix a stalled connection
Message-ID:  <202110031834.193IYQJE074573@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner:

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

commit 5e04d591a2c56b667d0b35286366970568c1cc9c
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2021-10-03 17:48:18 +0000
Commit:     Matthias Fechner <mfechner@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;
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110031834.193IYQJE074573>