Index: rietveld.py |
diff --git a/rietveld.py b/rietveld.py |
index 22168f572709de041fb17d18020c590ea2cadb44..028b0b00d8ea3d20d7bd729f6b3a0f700ac95d51 100644 |
--- a/rietveld.py |
+++ b/rietveld.py |
@@ -441,7 +441,11 @@ class Rietveld(object): |
for retry_anyway in ( |
'Name or service not known', |
'EOF occurred in violation of protocol', |
- 'timed out'): |
+ 'timed out', |
+ # See http://crbug.com/601260. |
+ 'urlopen error [Errno 10060] A connection attempt failed', |
+ 'urlopen error [Errno 104] Connection reset by peer', |
+ ): |
if retry_anyway in reason_as_str: |
return True |
return False # Assume permanent otherwise. |