From e7284780cffcec079b53d59de2c0489bfff8eb55 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 6 Dec 2018 18:54:54 +0100 Subject: [PATCH] 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. --- src/mux_h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_h1.c b/src/mux_h1.c index e1552346c..c3293409d 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; }