Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: update_attempter.cc

Issue 5395004: AU: Always retry on failed connections, even manual checks. (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libcurl_http_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter.cc
diff --git a/update_attempter.cc b/update_attempter.cc
index 7c958cb777fb07fd7a8ec17bd0e2e8eb849fda23..529338a83ee0e00e45e712ca64b1db5216fe7e64 100644
--- a/update_attempter.cc
+++ b/update_attempter.cc
@@ -164,11 +164,9 @@ void UpdateAttempter::Update(const std::string& app_version,
// Actions:
LibcurlHttpFetcher* update_check_fetcher =
new LibcurlHttpFetcher(GetProxyResolver());
- // If this is an automatic check, try harder to connect to the network. See
- // comment in libcurl_http_fetcher.cc.
- if (!obey_proxies) {
- update_check_fetcher->set_no_network_max_retries(3);
- }
+ // Try harder to connect to the network. See comment in
+ // libcurl_http_fetcher.cc.
+ update_check_fetcher->set_no_network_max_retries(3);
shared_ptr<OmahaRequestAction> update_check_action(
new OmahaRequestAction(prefs_,
omaha_request_params_,
« no previous file with comments | « libcurl_http_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698