[Pidgin] #4753: IRC messages silently truncated to first ~500 characters

Pidgin trac at pidgin.im
Wed Oct 22 04:13:15 EDT 2008


#4753: IRC messages silently truncated to first ~500 characters
-----------------------------+----------------------------------------------
 Reporter:  tmetro           |        Owner:  elb
     Type:  defect           |       Status:  new
Milestone:  Patches welcome  |    Component:  IRC
  Version:  2.3.1            |   Resolution:     
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by jankratochvil):

 RFC2812 section 2.3:
 {{{
 Thus, there are 510 characters maximum allowed
 for the command and its parameters.
 }}}
 section 2.2.1 note (2):
 {{{
 <hostname> has a maximum length of 63 characters.
 }}}

 But in my case it got cut more on the reception from the server - as the
 command to send the text is shorter than the notification command from the
 server.  So we have to predict the limit on the receiving side, not just
 to limit our sending of lines <=510.

 The message text should be <=405 if <user> is limited to <=9 but I did not
 find any limit for the <user> field.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4753#comment:7>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list