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

Unified Diff: rietveld.py

Issue 26913003: GTTF: Retry on flaky SSL "EOF occurred in violation of protocol" errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 2 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rietveld.py
diff --git a/rietveld.py b/rietveld.py
index 7397b295b319f44624f1d6bec69b85fdbafb46f7..aa5897e626094cb4b738d110286334634c3cccf5 100644
--- a/rietveld.py
+++ b/rietveld.py
@@ -385,7 +385,8 @@ class Rietveld(object):
except urllib2.URLError, e:
if retry >= (maxtries - 1):
raise
- if not 'Name or service not known' in e.reason:
+ if (not 'Name or service not known' in e.reason and
+ not 'EOF occurred in violation of protocol' in e.reason):
# Usually internal GAE flakiness.
raise
# If reaching this line, loop again. Uses a small backoff.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698