commit | c3df4507fa9219dceb345663cc3f9975b5470dfc | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Jun 05 17:07:45 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jun 05 18:03:38 2019 +0200 |
tree | d48c5fb59d2c4b69d8c929d5176e75f0bf3dac0f | |
parent | 49065544d08b2432338cf861c59a7647b7f5546b [diff] |
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.