refactor: 去掉loopback的代理配置
parent
d0635049cb
commit
78d9bf2dd0
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue