-
Notifications
You must be signed in to change notification settings - Fork 14
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
Retries and body #10
Comments
Hi, If you can post the code you using, it would be better. Thanks. |
I haven't tried it yet... So feel free to close the issue :) But, if the TCP connection is broken half way through streaming the request it seems all is lost... When hacking node, and dealing with TCP connection pooling which go does too... I happens that a TCP connection is kept alive, but really the remote end is dropped silently by server because of arbitrary timeout, etc. It's standard practice for azure storage services to drop connections silently after 60 seconds. Note: I don't have solution, short of simply not claiming to do retries for sending streams.. If sending binary things with retries, using |
Seems broken if retries is used with body, as
io.Reader
won't rewind...I haven't tried it... but that seems problematic... Maybe it's better to not support streams to avoid bugs.
Or am I missing something?
The text was updated successfully, but these errors were encountered: