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

Unified Diff: utils/pub/http.dart

Issue 12316036: Merge IO v2 branch to bleeding edge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased to r18818 Created 7 years, 10 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 | « utils/apidoc/apidoc.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/http.dart
diff --git a/utils/pub/http.dart b/utils/pub/http.dart
index f8cb6994b70f66e033867ccfe3cb8165af06172e..fe808347714c192fbaf953bd830edadc0aa0db91 100644
--- a/utils/pub/http.dart
+++ b/utils/pub/http.dart
@@ -60,6 +60,7 @@ class PubHttpClient extends http.BaseClient {
if (asyncError.error.osError.errorCode == 8 ||
asyncError.error.osError.errorCode == -2 ||
asyncError.error.osError.errorCode == -5 ||
+ asyncError.error.osError.errorCode == 11001 ||
asyncError.error.osError.errorCode == 11004) {
throw 'Could not resolve URL "${request.url.origin}".';
} else if (asyncError.error.osError.errorCode == -12276) {
« no previous file with comments | « utils/apidoc/apidoc.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698