mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-06-24 04:08:54 +00:00
Global.util.async
This commit is contained in:
parent
f6ac9a3228
commit
805d851ecf
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "anyproxy",
|
"name": "anyproxy",
|
||||||
"version": "2.8.5",
|
"version": "2.8.6",
|
||||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||||
"main": "proxy.js",
|
"main": "proxy.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
1
proxy.js
1
proxy.js
@ -13,6 +13,7 @@ try{
|
|||||||
GLOBAL.util['HttpProxyAgent'] = require('http-proxy-agent');
|
GLOBAL.util['HttpProxyAgent'] = require('http-proxy-agent');
|
||||||
GLOBAL.util['HttpsProxyAgent'] = require('https-proxy-agent');
|
GLOBAL.util['HttpsProxyAgent'] = require('https-proxy-agent');
|
||||||
GLOBAL.util['tcp-ping'] = require('tcp-ping');
|
GLOBAL.util['tcp-ping'] = require('tcp-ping');
|
||||||
|
GLOBAL.util['async'] = require('async');
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
|
|
||||||
var http = require('http'),
|
var http = require('http'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user