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/gh680 #681

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Fix/gh680 #681

merged 2 commits into from
Mar 17, 2021

Conversation

benoitc
Copy link
Owner

@benoitc benoitc commented Mar 17, 2021

fix #680 and #674. Please test.

ensure we release a socket in the pool when the requester died.

Changes:

Instead of using spawn_link we just spawn the checkout process. Once the
result is returned from the pool we check if the process died. If it
dies just return the socket in the pool and continue.
@benoitc benoitc merged commit 7d9f598 into master Mar 17, 2021
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.

spawn_link in hackney_pool issue
1 participant