]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: session: register a data->wake callback to process errors
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Oct 2012 19:17:23 +0000 (21:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 20:26:10 +0000 (22:26 +0200)
commit9683e9a05f4bdbc5d914d72b4a42bd5b0243fb3a
tree46b0c56f308ec6a882401665e9d56b189448f80b
parent2396c1c4a24052e34af0e2b165cf86deeef069aa
MEDIUM: session: register a data->wake callback to process errors

The connection layer will soon call ->wake() only when errors happen, and
not ->init(). So make the session layer use this callback to detect errors
and abort connections.
src/session.c