commit | 0ffde2cc3f639e42ba5d998c70b6f8ac4abbb5d8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 04 22:21:15 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 04 22:26:11 2012 +0200 |
tree | c7c0de121a694619edd7356f3c98e101dfb97c0e | |
parent | 665e6ee7aadef06b0fdf0c311808c68fb2a96bed [diff] |
MEDIUM: connection: automatically disable polling on error We absolutely want to disable FD polling after an error is detected, otherwise the data layer has to do it and it's far from being obvious at these layers. The way we did it was a bit tricky in conn_update_*_polling and conn_*_polling_changes. However it has almost no impact on performance and code size both for the fast and slow path. We'll now be able to remove some flag updates in the stream interface.