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 connection reset error #554

Merged
merged 2 commits into from
Jun 19, 2024
Merged

fix connection reset error #554

merged 2 commits into from
Jun 19, 2024

Conversation

cshuaimin
Copy link
Contributor

Enable TCP keepalive socket option when requesting to storage.
Fix "ConnectionResetError: [Errno 104] Connection reset by peer"
ticket #41769

psf/requests#4664

https://codearcana.com/posts/2015/08/28/tcp-keepalive-is-a-lie.html
https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die

@cshuaimin cshuaimin requested a review from leeyeh March 29, 2024 02:37
@juvenn juvenn merged commit 2896a12 into master Jun 19, 2024
3 checks passed
@juvenn juvenn deleted the fix-conn-reset branch June 19, 2024 08:50
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