node-modules / agentkeepalive

Support keepalive http agent.
MIT License
579 stars 57 forks source link

TypeError: Object #<Agent> has no method 'getName' #4

Closed brandon-bethke-timu closed 10 years ago

brandon-bethke-timu commented 10 years ago
var name = self.getName(options);
                ^
TypeError: Object #<Agent> has no method 'getName' at Agent.<anonymous>(/home/git/build/www/groupplace-www/node_modules/agentkeepalive/lib/agent.js:52:21)
at Agent.EventEmitter.emit (events.js:106:17)
at Socket.onFree (http.js:1301:10)
at Socket.EventEmitter.emit (events.js:92:17)
at Agent.removeSocket (http.js:1337:60)
at Agent.removeSocket (/home/git/build/www/groupplace-www/node_modules/agentkeepalive/lib/agent.js:132:37)
at Socket.onClose (http.js:1308:10)
at Socket.EventEmitter.emit (events.js:117:20)
at TCP.close (net.js:466:12)
fengmk2 commented 10 years ago

Thanks. The 0.2.x version only works on node 0.11.8 for now.