commit | 478281f55d46e85650e218893c78ce1d0ede13b3 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon May 13 19:10:46 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Mon May 13 19:11:38 2019 +0200 |
tree | 45bd42c0a30ab4e7caa20d326b1baaa1e1a9202e | |
parent | 4d7bfa1cd19331b2d7ce7f6e5b633dda8dac0a44 [diff] |
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.