summaryrefslogtreecommitdiff
path: root/libc/libc-test/build-generated.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-04-08 18:21:57 -0700
committerDaniel Mueller <deso@posteo.net>2017-04-08 18:21:57 -0700
commitf571751d203cfcf2456dc0d85b724cbab3d4075a (patch)
treede97e894262aaa78873f84c3cc8ed47cd4fa2eda /libc/libc-test/build-generated.rs
parent02d31ed3dc89528f5b46201abb0c03b6ef29cc16 (diff)
downloadnitrocli-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 'libc/libc-test/build-generated.rs')
0 files changed, 0 insertions, 0 deletions