]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: small cleanup of conn_complete_session()
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 07:49:59 +0000 (09:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 09:49:52 +0000 (11:49 +0200)
commiteaa7e44ad749f0ff689f4cf07f762abcf20d1d6c
tree64a613d36f7196f2c9549f5095425ab78b5b8828
parent05f5047d40a9623f96501aca3af66e4f82a4dd20
MINOR: session: small cleanup of conn_complete_session()

Commit 8e3c6ce ("MEDIUM: connection: get rid of data->init() which was
not for data") simplified conn_complete_session() but introduced a
confusing check which cannot happen on CO_FL_HANDSHAKE. Make it clear
that this call is final and will either succeed and complete the
session or fail.
src/session.c