]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: always unset the transport layer upon close
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 15:00:05 +0000 (17:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 15:03:04 +0000 (17:03 +0200)
commit6c03a649780157542f0e6371c0f5a41b01b3ad06
treeb878d12852baecb08cfb9b42b5427e888fabb6b9
parent773d65f413cfb91759046ba2cf99e9e76dd87264
MEDIUM: connection: always unset the transport layer upon close

When calling conn_xprt_close(), we always clear the transport pointer
so that all transport layers leave the connection in the same state after
a close. This will also make it safer and cheaper to call conn_xprt_close()
multiple times if needed.
include/proto/connection.h