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

Clean up socket in case of error #98

Merged
merged 4 commits into from
Oct 29, 2022
Merged

Clean up socket in case of error #98

merged 4 commits into from
Oct 29, 2022

Conversation

delvedor
Copy link
Owner

As titled.
Apparently, ava has some magic to clean up resources, so we can't use it to test this specific case. To address the issue, I've created a custom folder where we test specifically for this scenario with a plain node program.

Fixes: #86

@delvedor delvedor merged commit 6723582 into main Oct 29, 2022
@delvedor delvedor deleted the fix-86 branch October 29, 2022 14:06
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.

On bad response, the socket is destroyed only when the proxy server closes the connection
1 participant