Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting 'pool' to 'false' does NOT disable Agent pooling #261

Merged
merged 1 commit into from
Jun 6, 2012

Conversation

timshadel
Copy link
Contributor

An incorrect check of if (!self.pool).. caused the globalPool overwrite self.pool before a check later in the code if (self.pool === false) ... which is intended to turn off pooling, but is never triggered. The result was that the typical http.Agent is used, with it's default max connections of 5.

--Tim Shadel github@timshadel.com

An incorrect check caused the `globalPool` to be used whenever the
`pool` option was set to `false`.

--Tim Shadel <github@timshadel.com>
mikeal added a commit that referenced this pull request Jun 6, 2012
Setting 'pool' to 'false' does NOT disable Agent pooling
@mikeal mikeal merged commit 273713f into request:master Jun 6, 2012
@ghost ghost mentioned this pull request Sep 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants