commit | 84db7ce93cca41079226041f127b6fe2bbde084c | [log] [tgz] |
---|---|---|
author | Wade Guthrie <wdg@chromium.org> | Wed Jun 12 11:40:49 2013 -0700 |
committer | ChromeBot <chrome-bot@google.com> | Fri Jun 21 11:50:40 2013 -0700 |
tree | 8527c964db21b64504ad72203d4e42c5d6ecfcb8 | |
parent | 3ffe52c6eb79db079a8b5685d2c8bd96f6b49b79 [diff] |
shill: Times-out old netlink response handlers. Adds a default timeout to all message response handlers. Adds a 'type' to auxilliary message handlers. When/if a netlink message goes unanswered (we don't receive a unicast response with the same serial number) after the timeout (and there's no intervening sent message -- we only timeout old handlers on message send), the axilliary message handler is called with a 'type' of 'timeout' and the handler is deleted. BUG=chromium:249028 TEST=unittest Change-Id: I85e84a27acfaa6d9b6af6f25288056bda40a649b Reviewed-on: https://gerrit.chromium.org/gerrit/59306 Commit-Queue: Wade Guthrie <wdg@chromium.org> Reviewed-by: Wade Guthrie <wdg@chromium.org> Tested-by: Wade Guthrie <wdg@chromium.org>