From: Olivier Houchard Date: Thu, 6 Dec 2018 17:54:54 +0000 (+0100) Subject: BUG/MEDIUM: h1: Don't free the connection if it's an outgoing connection. X-Git-Tag: v1.9-dev10~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7284780cffcec079b53d59de2c0489bfff8eb55;p=thirdparty%2Fhaproxy.git BUG/MEDIUM: h1: Don't free the connection if it's an outgoing connection. In h1_process(), don't release the connection if it is an outgoing connection and we don't have an h1s associated, if it is so it is probably just in a pool. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index e1552346c9..c3293409dc 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -1682,7 +1682,7 @@ static int h1_process(struct h1c * h1c) goto release; } else - goto release; + goto end; h1s = h1c->h1s; }