Opened 7 years ago

#4880 enhancement new

Misleading behavior during large line disconnects

Reported by: Chris Kadar Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:


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 (1) (1.0 KB) - added by Chris Kadar 7 years ago.
Modified echoclient/echoserver to demonstrate issue.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Chris Kadar

Attachment: added

Modified echoclient/echoserver to demonstrate issue.

comment:1 Changed 7 years ago by <automation>

Note: See TracTickets for help on using tickets.