optimize: sni配置为空字符串时,不使用sni。
parent
9e27eb4301
commit
f71fda1a30
|
@ -113,7 +113,7 @@ module.exports = {
|
|||
log.info('proxy choice:', JSON.stringify(context.requestCount))
|
||||
}
|
||||
|
||||
if (interceptOpt.sni != null) {
|
||||
if (interceptOpt.sni) {
|
||||
let unVerifySsl = rOptions.agent.options.rejectUnauthorized === false
|
||||
|
||||
rOptions.servername = interceptOpt.sni
|
||||
|
|
Loading…
Reference in New Issue