pool.js:134 cannot read property '_requestCount' of undefined #10

Closed
nwillems opened this Issue Dec 13, 2012 · 1 comment

2 participants

@nwillems

When checking the request count, no check is done, to see if the socket object is actually there(aka if the request was succesful).

The line could be changed to something like:

'''javascript
options.reused = ((res.socket && res.socket._requestCount) || 1) > 1'''

/willems

@dannycoates
Owner

Thanks for reporting this issue! Sorry about that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment