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

Support custom agent with keepAlive: true #441

Merged

Conversation

kesla
Copy link
Contributor

@kesla kesla commented Apr 2, 2018

When using a custom http agent and keepAlive is set the request won't create new sockets, meaning that the 'connect' or 'secureConnect' events won't run.

This fixes that.

@kesla kesla force-pushed the agent-keep-alive-max-sockets-bugfix branch from 03c3a2a to 3bbffa1 Compare April 2, 2018 09:41
@brandur-stripe
Copy link
Contributor

Oh, nice. Thanks for the fix!

@brandur-stripe brandur-stripe merged commit 38be93a into stripe:master Apr 2, 2018
@brandur-stripe
Copy link
Contributor

Released as 5.7.0.

@kesla kesla deleted the agent-keep-alive-max-sockets-bugfix branch April 3, 2018 10:00
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