]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Enable keep-alive on server side
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Nov 2018 20:22:43 +0000 (21:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commit81d484326b25ee585d1b9176475ef24db433e77c
tree9b862543cf6e11d90ec94fd3bd146c105fffb008
parent539e029cc593eac96c559be330efc00496ddfdbe
BUG/MINOR: mux-h1: Enable keep-alive on server side

Don't force the close on server side anymore. Since commit 7c6f8b146 ("MAJOR:
connections: Detach connections from streams"), it is possible to release a
stream without the underlying connection.

Because of this change, we must be sure to create a new stream to handle the
next HTTP transaction only on the client side. And we must be sure to correctly
handle the read0 event in h1_recv, to be sure to call h1_process().
src/mux_h1.c