diff options
author | Daniel Mueller <deso@posteo.net> | 2017-04-08 18:21:57 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-04-08 18:21:57 -0700 |
commit | f571751d203cfcf2456dc0d85b724cbab3d4075a (patch) | |
tree | de97e894262aaa78873f84c3cc8ed47cd4fa2eda /rand/rand_hc | |
parent | 02d31ed3dc89528f5b46201abb0c03b6ef29cc16 (diff) | |
download | nitrocli-f571751d203cfcf2456dc0d85b724cbab3d4075a.tar.gz nitrocli-f571751d203cfcf2456dc0d85b724cbab3d4075a.tar.bz2 |
Retry send/receive on failure
It is possible that sending or receiving a feature report fails. Such
failures can have multiple reasons, including transient problems. In the
case of such a transient failure we should retry the operation.
This change accomplishes this feat by retrying a send in case of a
failure up to a maximum of three times, with a small wait in between. It
also introduces the logic or receiving a response (which is not yet
evaluated fully).
Diffstat (limited to 'rand/rand_hc')
0 files changed, 0 insertions, 0 deletions