bugfix for https server

This commit is contained in:
OttoMao 2015-03-20 11:42:54 +08:00
parent 47b769c8e2
commit bdf5e4fabb
3 changed files with 19 additions and 11 deletions

View File

@ -1,4 +1,8 @@
23 Feb 2015: anyproxy 3.2.4:
20 Mar 2015: anyproxy 3.2.5:
* bugfix for internal https server
19 Mar 2015: anyproxy 3.2.4:
* bugfix for absolute rule path

View File

@ -275,11 +275,14 @@ function connectReqHandler(req, socket, head){
internalHttpsPort,
httpsServerMgrInstance;
async.series([
//check if internal https server exists
function(callback){
if(!shouldIntercept){
callback();
return;
}else{
if(internalHttpsPort){
callback();
}else{
@ -292,6 +295,7 @@ function connectReqHandler(req, socket, head){
callback();
});
}
}
},
//determine the target server

View File

@ -1,6 +1,6 @@
{
"name": "anyproxy",
"version": "3.2.4",
"version": "3.2.5",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js",
"bin": {