mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-24 07:01:25 +00:00
ignore https problem
This commit is contained in:
parent
d90c12f6fe
commit
b35d058b7a
@ -111,6 +111,7 @@ function userRequestHandler(req,userRes){
|
||||
};
|
||||
|
||||
options = userRule.replaceRequestOption(req,options) || options;
|
||||
options.rejectUnauthorized = false;
|
||||
|
||||
//update quest data
|
||||
reqData = userRule.replaceRequestData(req,reqData) || reqData;
|
||||
@ -230,7 +231,7 @@ function userRequestHandler(req,userRes){
|
||||
});
|
||||
|
||||
proxyReq.on("error",function(e){
|
||||
console.log("err with request :" + e.code + " " + req.url);
|
||||
console.log("err with request :" + e + " " + req.url);
|
||||
userRes.end();
|
||||
});
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user