]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Wake the upper layer even if sending/receiving is disabled.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 5 Jun 2019 15:07:45 +0000 (17:07 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 5 Jun 2019 16:03:38 +0000 (18:03 +0200)
commitc3df4507fa9219dceb345663cc3f9975b5470dfc
treed48c5fb59d2c4b69d8c929d5176e75f0bf3dac0f
parent49065544d08b2432338cf861c59a7647b7f5546b
MEDIUM: connections: Wake the upper layer even if sending/receiving is disabled.

In conn_fd_handler(), if the fd is ready to send/recv, wake the upper layer
even if we have CO_FL_ERROR, or if CO_FL_XPRT_RD_ENA/CO_FL_XPRT_WR_ENA isn't
set. The only reason we should reach that point is if we had a shutw/shutr,
and the upper layer may want to know about it, and is supposed to handle it
anyway.
src/connection.c