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

Fixed bug in client comms. #1423

Merged
merged 1 commit into from
Dec 10, 2021
Merged

Fixed bug in client comms. #1423

merged 1 commit into from
Dec 10, 2021

Conversation

scudette
Copy link
Contributor

When the client received a 503 status from the server (due to load
shedding for example) it failed to close the socket on error
paths. This resulted in a leak of a socket and presented in having
many TIME_WAIT sockets.

This PR refactors the http comms code to ensure the socket is closed
on all error paths

When the client received a 503 status from the server (due to load
shedding for example) it failed to close the socket on error
paths. This resulted in a leak of a socket and presented in having
many TIME_WAIT sockets.

This PR refactors the http comms code to ensure the socket is closed
on all error paths
@scudette scudette merged commit 69ea626 into master Dec 10, 2021
@scudette scudette deleted the comms branch December 10, 2021 13:28
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.

1 participant