]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: servers: Don't check if we have a conn_stream too soon.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 23 Nov 2018 13:32:08 +0000 (14:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Nov 2018 13:56:21 +0000 (14:56 +0100)
commit1295016873ac4b0a2913549a2737cc95a7df2398
tree067a52093b76c9719cc06e74a76c49d475020a65
parentc6e0bb49441d300c1f1bd48cee1ced588f5ae187
BUG/MEDIUM: servers: Don't check if we have a conn_stream too soon.

The creation of the conn_stream for an outgoing connection has been delayed
a bit, and when using dispatch, a check was made to see if a conn_stream
was attached before the conn_stream was created, so remove the test, as
it's done later anyway, and create and install the conn_stream right away
when we don't have a server, as is done when we don't have an alpn/npn
defined.
src/backend.c