mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-05-10 14:58:27 +00:00
fix the issue with TLS connection cache, when server doesn't recognize the cache, it will hang up the following request after the cached one.
refer to https://github.com/nodejs/node/issues/8368
This commit is contained in:
parent
fa177f645a
commit
4461628e1b
@ -16,6 +16,9 @@ var http = require("http"),
|
|||||||
|
|
||||||
var userRule = util.freshRequire('./rule_default');
|
var userRule = util.freshRequire('./rule_default');
|
||||||
|
|
||||||
|
// to fix issue with TLS cache, refer to: https://github.com/nodejs/node/issues/8368
|
||||||
|
https.globalAgent.maxCachedSessions = 0;
|
||||||
|
|
||||||
function userRequestHandler(req,userRes){
|
function userRequestHandler(req,userRes){
|
||||||
/*
|
/*
|
||||||
note
|
note
|
||||||
|
Loading…
x
Reference in New Issue
Block a user