You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving a lot of messages from a client application in quick succession: The server will throw one of the following exceptions:
Invalid Data Version (your validation)
Message Length Negative (your validation)
Some Serialization Issue (due to invalid stream of bytes) (BinaryFormatter)
The problem is that when sending a lot of messages very quickly the message framing messes up. The bytes are received in the wrong order.
The exception thrown depends on "luck" really if what the client perceives to be the length prefix is converted to a positive integer, the message length negative exception will not be thrown; else, it is.
The text was updated successfully, but these errors were encountered:
When receiving a lot of messages from a client application in quick succession: The server will throw one of the following exceptions:
Invalid Data Version (your validation)
Message Length Negative (your validation)
Some Serialization Issue (due to invalid stream of bytes) (BinaryFormatter)
The problem is that when sending a lot of messages very quickly the message framing messes up. The bytes are received in the wrong order.
The exception thrown depends on "luck" really if what the client perceives to be the length prefix is converted to a positive integer, the message length negative exception will not be thrown; else, it is.
The text was updated successfully, but these errors were encountered: