Skip to content

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
@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