]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Fail if we fail to allocate a conn_stream.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 28 Dec 2018 13:45:47 +0000 (14:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 14:49:24 +0000 (15:49 +0100)
commit134a2045bbae1de2dd267928367a1445e966013d
tree9567a6a5c4bf5a83a926de451284a0cae4d0a47d
parent855ac25d8293718ce2054b2b51a4c60bdf71cee4
BUG/MEDIUM: servers: Fail if we fail to allocate a conn_stream.

If, for some reason we failed to allocate a conn_stream when reusing an
existing connection, set srv_conn to NULL, so that we fail later, instead
of pretending all is right. This ends up giving a stream_interface with
no endpoint, and so the stream will never end.

This should be backported to 1.9.
src/backend.c