mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-13 06:37:47 -04:00
Added another error to DNS fallback
This commit is contained in:
1 parent
0cb7266599
commit
eaf87e9397
3 files changed
+3
-2
No files matched your search
@@ -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
@@ -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
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user