Retrying when we encounter a connection reset

Review Request #3563 — Created Nov. 26, 2012 and discarded — Latest diff uploaded

Information

RBTools

Reviewers

Our users have occasionally encountered connection resets when running postreview.py from remote locations with poor connectivity. These errors are transient, so adding retries when postreview encounters a timeout.

This is available in my timeout_retries branch...

https://github.com/atagar/rbtools/commit/08c288484576503768c29e87c9b6cb08529fec90
https://github.com/atagar/rbtools/tree/timeout_retries
This exact change is untested, but we've been running an identical change with RBTools 0.3 for three months now without any issues.