]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connections: Don't forget to set xprt_ctx to NULL on close.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 13 May 2019 17:10:46 +0000 (19:10 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 13 May 2019 17:11:38 +0000 (19:11 +0200)
commit478281f55d46e85650e218893c78ce1d0ede13b3
tree45bd42c0a30ab4e7caa20d326b1baaa1e1a9202e
parent4d7bfa1cd19331b2d7ce7f6e5b633dda8dac0a44
BUG/MEDIUM: connections: Don't forget to set xprt_ctx to NULL on close.

In conn_xprt_close(), after calling xprt->close(), don't forget to set
conn->xprt_ctx to NULL, or we may attempt to reuse the now-free'd
conn->xprt_ctx if the connection failed and we're retrying it.
include/proto/connection.h