-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove send-error message #149
Comments
May I ask what's the current state on this? What's currently happening in such a case you mentioned in this comment? On the Websocket layer, the only solution is to send back a "acknowledge" message. Since SaltyRTC is based on websockets, it's up to the applications to ack messages. So, removing Like you said, I do not see much value to add a new field to the |
It's currently implemented but implementations should not rely on it. We still need to remove it. |
You mean applications who use SaltyRTC should not rely on |
Yes |
The
send-error
message is not really helpful since it cannot reliably tell whether a message has been relayed. See this comment for a detailed explanation.I propose to remove the
send-error
message. We could add a new field to thedisconnected
message that indicates whether the client disconnected (or has been disconnected by the server) gracefully with a close code or the connection has been lost (either with a ping timeout or a TCP timeout/error). But even that may be prone to error and the value is questionable.The text was updated successfully, but these errors were encountered: