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

Fix socket 'connect' listener handling #2439

Merged
merged 1 commit into from Nov 3, 2016

Conversation

mscdex
Copy link
Contributor

@mscdex mscdex commented Oct 26, 2016

Fixes: #2438

/cc @mdlavin Can you try this patch?

@mscdex
Copy link
Contributor Author

mscdex commented Oct 26, 2016

@mdlavin Ok, I've updated it to remove the handler on 'error' as well.

@mdlavin
Copy link

mdlavin commented Oct 26, 2016

I'll redeploy with the new version and watch memory again

@mscdex mscdex force-pushed the fix-timeout-regression branch 3 times, most recently from a158176 to 8d139f7 Compare October 31, 2016 18:57
@mscdex mscdex changed the title Ensure socket 'connect' listener is always removed Fix socket 'connect' listener handling Oct 31, 2016
This commit ensures that both a 'connect' timer only starts when a
new socket is being used for a request and that the 'connect' timer
is stopped in more places.

Fixes: request#2438
@simov simov merged commit 99ef042 into request:master Nov 3, 2016
@mscdex
Copy link
Contributor Author

mscdex commented Nov 3, 2016

Ack, you were too fast with merging, I was going to make another change yet. I will open a new PR.

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

3 participants