SimpleURLLoader: Add retry support on 5xx and network errors.
These are the cases in which URLFetcher supports retries. Unlike URLFetcher, there's a single method to enable both types of retries, and a single counter. Unlike URLFetcher, this does not support backoff via the ThrottleManager (Something only used in the service process). We may want to implement something simpler, or just let the service process consumers themselves deal with backoff. Bug: 746977 Change-Id: I31c81652176856231289ad88d082713bad6df61d Reviewed-on: https://chromium-review.googlesource.com/701215 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:Randy Smith <rdsmith@chromium.org> Cr-Commit-Position: refs/heads/master@{#509642}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment