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
Suggestion: auto-retry? #151
Comments
@omgitsraven I like this idea. Maybe it could be a flag? Like |
That could work, although it'd either mean suffering one failed attempt in order to find out you need it, or else including the flag all the time just in case you do... Like, what would be someone's motivation not to use the flag just in case? |
Enabled by default seems like an good option for me. I throws a panic, so recover will be enough to try again. You can maybe set a default flag to retry attempts (like 3 or so). |
Mixing all answers together would mean that it is enabled by default and a flag like |
I'm not sure about the default. For now, just make a flag for it and I can think about it for a default. Let me know if you have any questions about the codebase as you dig in for the PR |
…o-retry for issue schollz#151. Looking for some constructive criticism, thank you.
Please dont forget this feature |
Please add. large files don't reach EOF |
@RLB2310 @formtapez I will accept PR |
@schollz Would you mind keeping this open? I would like to come back to this. |
I'm trying to send a large file to a friend who has a flaky connection, and while the resume function is working, we always have to manually re-connect on both ends every time something goes wrong, which means that the transfer can't continue until we're both back at our keyboards.
Specifically, on the sending end I'm seeing:
Does that seem like the type of error that, rather than crashing, both ends could safely recognize and auto-reattempt (like once a minute or so) until the connection is re-established? Or does the NAT traversal situation mean that we'd have to go through the relay again? (Even then, while I understand that you wouldn't want TOO much traffic to the relay coming from auto-reattempts running all day, maybe trying three times before giving up or something wouldn't be too much of an extra load?)
The text was updated successfully, but these errors were encountered: