]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: connection: call data layer handshakes from the handler
authorWilly Tarreau <wtarreau@exceliance.fr>
Thu, 12 Jul 2012 13:32:13 +0000 (15:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:53:09 +0000 (21:53 +0200)
commitc76ae33bfcf028217a38843d9b70fe48504d7bfb
tree4424820d92cf09f043a0a6ce1cdd57ff6f8e5fe6
parent0b0c097a3a324bc6caf735c06e014fe5093281ef
MAJOR: connection: call data layer handshakes from the handler

Handshakes is not called anymore from the data handlers, they're only
called from the connection handler when their flag is set.

Also, this move has uncovered an issue with the stream interface notifier :
it doesn't consider the FD_WAIT_* flags possibly set by the handshake
handlers. This will result in a stuck handshake when no data is in the
output buffer. In order to cover this, for now we'll perform the EV_FD_SET
in the SSL handshake function, but this needs to be addressed separately
from the stream interface operations.
include/types/connection.h
src/connection.c
src/stream_interface.c