[Pidgin] #15896: Handle messages larger than IRC_INITIAL_BUFSIZE

Pidgin trac at pidgin.im
Sun Feb 2 20:31:41 EST 2014


#15896: Handle messages larger than IRC_INITIAL_BUFSIZE
-------------------------------------------------+------------------
 Reporter:  ctaveras                             |       Owner:  elb
     Type:  patch                                |      Status:  new
Milestone:                                       |   Component:  IRC
  Version:  2.10.8                               |  Resolution:
 Keywords:  SSL inspircd packets gnutls openssl  |
-------------------------------------------------+------------------

Comment (by ctaveras):

 I've uploaded a new patch taking into account QuLogic's feedback.  But
 it's conceivable that an IRC server with a sufficiently large MOTD could
 trigger the same behavior, which makes this commit a stop-gap measure.
 What we really need is a way to ensure the input callback gets called on
 the next iteration of the loop even if the socket isn't drained of pending
 data on the current iteration.  Perhaps something as simple as scheduling
 it from the callback itself?  I haven't had time to look at it further.

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15896#comment:5>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list