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

Use local https agent, instead of dirtying global agent #95

Merged
merged 4 commits into from
May 24, 2017

Conversation

artofspeed
Copy link
Contributor

The commit before sets https.globalAgent.keepAlive = true, which was very dangerous, because this dirties other modules that rely on https module. For instance, it messes up some of Stripe's consecutive requests.

This commits give google map its own local agent (request pool), thus no conflicts with other modules.

@stephenmcd
Copy link
Contributor

Thanks a lot the fix!

@stephenmcd stephenmcd merged commit 781cd0e into googlemaps:master May 24, 2017
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.

2 participants