[Pidgin] #12562: Pidgin appears to expect each SSL packet to contain exactly one line of text

Pidgin trac at pidgin.im
Sat Aug 28 23:12:16 EDT 2010


#12562: Pidgin appears to expect each SSL packet to contain exactly one line of
text
-------------------------------------------------+--------------------------
 Reporter:  Stmeter                              |     Owner:  elb  
     Type:  defect                               |    Status:  new  
Component:  IRC                                  |   Version:  2.7.3
 Keywords:  SSL inspircd packets gnutls openssl  |  
-------------------------------------------------+--------------------------
 This problem was discussed on the IRC (http://pastebin.com/jcWdPz4U). elb
 approved that it is a bug.

 When using Inspircd 2.0 and sending large SSL packets(4096 bytes)
 containing many lines, Pidgin is taking about 3 minutes to finish reading
 the introduction from the server. Pidgin times out until the server sends
 a ping, which then makes the socket readable, which explains the 3
 minutes. It essentially has to do with buffer handling.

 If the IRCD sends one line at a time, the socket will remain readable
 because SSL only eats one packet at a time. The main area where this
 problem exists is the whole irc_input_cb_ssl, which probably needs to be
 redone.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12562>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list