commit | 9e272bf95df16b9bfe6713cab0dc510a35e1f8e2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 03 21:04:48 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 04 22:26:10 2012 +0200 |
tree | 63127b4a38d61677bbc54551fbc88b2a0814678d | |
parent | f3a6d7e115249483cb27de6e4ae9c0dbb54969e6 [diff] |
MEDIUM: connection: only call the data->wake callback on activity We now check the connection flags for changes in order not to call the data->wake callback when there is no activity. Activity means a change on any of the CO_FL_*_SH, CO_FL_ERROR, CO_FL_CONNECTED, CO_FL_WAIT_CONN* flags, as well as a call to data->recv or data->send.