-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using a custom Agent with http.HttpClient.
Change tests to use an Agent with a single socket instead http.globalAgent for consistent behavior between node v0.10.x and v0.11.y (y >= 7): node v0.11.4 changed http.globalAgent.maxSockets = Inifinity (from 5) and v0.11.7 changed the http module to only send “Connection: keep-alive” when necessary.
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters