-
Notifications
You must be signed in to change notification settings - Fork 31
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
Requeue packets on network error #352
Comments
Or do I miss something? |
It's an example of a pattern. Instead of dropping a packet we can requeue it to try to send it when we are online again |
Almost all packets expire quite fast. It just doesn't make sense to store them if we can't send them immediately. The only packets that don't expire that come in mind - lossless net crypto packets. But for them we have different mechanism - we store them to a buffer and drop only when other side confirms that they are delivered. So I don't really see where we can apply it. |
TCP client - need to reconnect to the server and create a new secure session. Seems you are right. |
https://github.com/cloudflare/boringtun/blob/master/src/noise/mod.rs#L220
The text was updated successfully, but these errors were encountered: