Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

switch to keep-alive-agent

  • Loading branch information...
commit 1538537e295a1e5d9948b8b298456b7c1f6369d1 1 parent e1e9c6c
Danny Coates authored December 05, 2012
4  lib/endpoint.js
... ...
@@ -1,6 +1,6 @@
1 1
 var Stream = require('stream')
2 2
 var http = require('http')
3  
-var KeepAlive = require('agentkeepalive')
  3
+var KeepAlive = require('keep-alive-agent')
4 4
 
5 5
 module.exports = function (inherits, EventEmitter, Pinger) {
6 6
 	var MAX_COUNT = Math.pow(2, 52)
@@ -42,7 +42,7 @@ module.exports = function (inherits, EventEmitter, Pinger) {
42 42
 				this.agent = new KeepAlive()
43 43
 			}
44 44
 			else {
45  
-				this.agent = new KeepAlive.HttpsAgent()
  45
+				this.agent = new KeepAlive.Secure()
46 46
 			}
47 47
 		}
48 48
 		else {
4  package.json
... ...
@@ -1,6 +1,6 @@
1 1
 {
2 2
     "name": "poolee",
3  
-    "version": "0.4.3",
  3
+    "version": "0.4.4",
4 4
     "description": "HTTP pool and load balancer",
5 5
     "homepage": "http://github.com/dannycoates/poolee",
6 6
     "author": "Danny Coates <dannycoates@gmail.com>",
@@ -11,7 +11,7 @@
11 11
     },
12 12
     "engines" : { "node": ">=0.6.0" },
13 13
     "dependencies": {
14  
-      "agentkeepalive": "*"
  14
+      "keep-alive-agent": "*"
15 15
     },
16 16
     "devDependencies": {
17 17
       "mocha": "*"

0 notes on commit 1538537

Please sign in to comment.
Something went wrong with that request. Please try again.