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)
This commit is contained in:
Matthias Fechner 2021-10-03 19:48:18 +02:00
parent 48e692a2ed
commit 5e04d591a2
2 changed files with 12 additions and 0 deletions

View file

@ -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/

View file

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