小调整。
parent
497c199084
commit
f8e1285e59
|
@ -109,7 +109,7 @@ util.getOptionsFromRequest = (req, ssl, externalProxy = null, serverSetting) =>
|
||||||
// keepAlive
|
// keepAlive
|
||||||
if (headers.connection !== 'close') {
|
if (headers.connection !== 'close') {
|
||||||
const timeoutConfig = getTimeoutConfig(hostname, serverSetting)
|
const timeoutConfig = getTimeoutConfig(hostname, serverSetting)
|
||||||
// log.info(`get timeoutConfig: hostname: ${hostname}, timeoutConfig:`, timeoutConfig)
|
// log.info(`get timeoutConfig '${hostname}':`, timeoutConfig)
|
||||||
agent = createAgent(protocol, timeoutConfig)
|
agent = createAgent(protocol, timeoutConfig)
|
||||||
headers.connection = 'keep-alive'
|
headers.connection = 'keep-alive'
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue