Added another error to DNS fallback

This commit is contained in:
Gregory Schier committed 2016-11-19 00:38:26 -08:00
1 parent 0cb7266599
commit eaf87e9397
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -111,6 +111,7 @@ export function _actuallySend (renderedRequest, settings, forceIPv4 = false) {
// Failed to connect while prioritizing IPv6 address, fallback to IPv4
const isNetworkRelatedError = (
err.code === 'ECONNREFUSED' || // Could not talk to server
err.code === 'EHOSTUNREACH' || // Could not reach host
err.code === 'ENETUNREACH' // Could not access the network
);
+1 -1
View File
@@ -16,7 +16,7 @@
"electron-squirrel-startup": "^1.0.0",
"hkdf": "0.0.2",
"httpsnippet": "git@github.com:getinsomnia/httpsnippet.git#a3a2c0a0167fa844bf92df52a1442fa1d68a9053",
"insomnia-importers": "^0.2.0",
"insomnia-importers": "^0.2.1",
"json-lint": "^0.1.0",
"jsonpath-plus": "^0.15.0",
"mime-types": "^2.1.12",
+1 -1
View File
@@ -85,7 +85,7 @@
"electron-squirrel-startup": "^1.0.0",
"hkdf": "0.0.2",
"httpsnippet": "git@github.com:getinsomnia/httpsnippet.git#a3a2c0a0167fa844bf92df52a1442fa1d68a9053",
"insomnia-importers": "^0.2.0",
"insomnia-importers": "^0.2.1",
"json-lint": "^0.1.0",
"jsonpath-plus": "^0.15.0",
"mime-types": "^2.1.12",