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.
This commit is contained in:
Olivier Houchard 2018-12-06 18:54:54 +01:00 committed by Willy Tarreau
parent d247be0620
commit e7284780cf

View File

@ -1682,7 +1682,7 @@ static int h1_process(struct h1c * h1c)
goto release;
}
else
goto release;
goto end;
h1s = h1c->h1s;
}