commit | 61ace1b2ca51729270bd980984a2c67293bc2a2f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <wtarreau@exceliance.fr> | Mon Jul 23 12:14:26 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 02 21:51:28 2012 +0200 |
tree | b4e99b3f816c244904fc70ad69cc24683223bda8 | |
parent | 8018471f44ead9566114df1f004f500ed1d7dd75 [diff] |
MEDIUM: connection: remove the FD_POLL_* flags only once It's inappropriate to remove FD_POLL_IN and FD_POLL_OUT in the IO callback handlers, first because they shouldn't care about this, and second because it will make it harder to chain multiple callers. So let's flush these flags only once for all in the connection handler. Right now, the HUP and ERR flags are still flushed in each IO handler to avoid multiple calls. This will probably have to be fixed later.