Opened 6 years ago
#4880 enhancement new
Misleading behavior during large line disconnects
|Reported by:||FireSlash||Owned by:|
When sending abnormally large lines with LineOnlyReceiver, it will disconnect in a very misleading way. The receiver will continue to accept lines for a short time after the incident (so if one line exceeds the length, the last message before disconnection may be entirely different).
clientConnectionLost() is then triggered, with a message of
Connection was closed cleanly.
This behavior implies that either the client or server closed the connection under normal circumstances, leading any developer to look elsewhere for the cause of the problem.
I've attached a simple client/server to reproduce this behavior.