diff --git a/packages/core/src/shell/scripts/set-system-proxy/index.js b/packages/core/src/shell/scripts/set-system-proxy/index.js index 1f4394a..0207732 100644 --- a/packages/core/src/shell/scripts/set-system-proxy/index.js +++ b/packages/core/src/shell/scripts/set-system-proxy/index.js @@ -35,9 +35,9 @@ const _lanIP = [ '172.29.*', '172.30.*', '172.31.*', - '192.168.*', - '<-loopback>' + '192.168.*' ] +// '<-loopback>' async function _winUnsetProxy (exec, setEnv) { // eslint-disable-next-line no-constant-condition diff --git a/packages/mitmproxy/src/lib/proxy/mitmproxy/createConnectHandler.js b/packages/mitmproxy/src/lib/proxy/mitmproxy/createConnectHandler.js index ba6e0e3..d1f1e86 100644 --- a/packages/mitmproxy/src/lib/proxy/mitmproxy/createConnectHandler.js +++ b/packages/mitmproxy/src/lib/proxy/mitmproxy/createConnectHandler.js @@ -128,7 +128,7 @@ function connect (req, cltSocket, head, hostname, port, dnsConfig, sniRegexpMap) }) cltSocket.on('error', (e) => { - log.error('cltSocket error', e.message) + log.error('cltSocket error', e.message, hostname) }) proxySocket.on('timeout', () => { const end = new Date().getTime()