Ticket #4880 enhancement new
Opened 2 years ago
Misleading behavior during large line disconnects
| Reported by: | FireSlash | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

