From 805d851ecf2f702416d77fdb727e18212767aac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=83=B3=E5=BD=93=E5=BD=93?= Date: Wed, 12 Nov 2014 21:22:14 +0800 Subject: [PATCH] Global.util.async --- package.json | 2 +- proxy.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 294eb12..2c57ca1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anyproxy", - "version": "2.8.5", + "version": "2.8.6", "description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.", "main": "proxy.js", "bin": { diff --git a/proxy.js b/proxy.js index 641a312..413a570 100644 --- a/proxy.js +++ b/proxy.js @@ -13,6 +13,7 @@ try{ GLOBAL.util['HttpProxyAgent'] = require('http-proxy-agent'); GLOBAL.util['HttpsProxyAgent'] = require('https-proxy-agent'); GLOBAL.util['tcp-ping'] = require('tcp-ping'); + GLOBAL.util['async'] = require('async'); }catch(e){} var http = require('http'),