Opened 10 years ago

Last modified 10 years ago

#7672 new defect

long messages in IRC silently dissapear

Reported by: kermit Owned by: elb
Milestone: Component: IRC
Version: 2.5.2 Keywords:
Cc: Julian Mehnle

Description (last modified by kermit)

I'm sure most everyone in IRC knows this bug exists in most IRC clients, but for the people who don't know it can lead to a lot of confusion.

The bug is, if you send a line longer than 512 charactrers.. or is it 511 characters, and subtract 2 more for the CRLF, I think. The server drops it entirely.

This is not to be confused with how long messages get truncated as reported in bug #4753. However, fixing both issues at once would be efficient.

For anyone not understanding what's happening.. If the entire line including command and target is over the limit on the sender side, it is dropped, if it's shorter on the sender side but on the reciever side would be too long, then it would be truncated. Note that the reciever sees a different line because they see the sender nick!user@host so the length is different (usually longer). See the RFC for more details.

Note it seems not all IRC servers accept, though still truncate, over 512, like freenode. Undernet drops.

Some, maybe all, servers will reply with error 417 message too long if they've dropped the line. As there is no default "server window" in pidgin, this is unknown to the user.

Change History (2)

comment:1 Changed 10 years ago by kermit

  • Component changed from unclassified to IRC
  • Owner changed from lschiere to elb

comment:2 Changed 10 years ago by kermit

  • Description modified (diff)
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!