python-sdk
python-sdk copied to clipboard
fix connection reset error
Enable TCP keepalive socket option when requesting to storage. Fix "ConnectionResetError: [Errno 104] Connection reset by peer" ticket #41769
https://github.com/psf/requests/issues/4664
https://codearcana.com/posts/2015/08/28/tcp-keepalive-is-a-lie.html https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die