[Pidgin] #3642: ICQ - connection reset by peer

Pidgin trac at pidgin.im
Mon May 5 11:21:31 EDT 2008


#3642: ICQ - connection reset by peer
---------------------+------------------------------------------------------
  Reporter:  babaz   |       Owner:  MarkDoliner
      Type:  defect  |      Status:  reopened   
  Priority:  major   |   Milestone:             
 Component:  ICQ     |     Version:  2.2.1      
Resolution:          |    Keywords:             
   Pending:  0       |  
---------------------+------------------------------------------------------
Comment (by maniax):

 Debugging this, it seems like the problem is that the rate changes send
 from the server are not honored in the initial buddy list initialization.

 aim_icq_getstatusnote() in libpurple/protocols/oscar/family_icq.c gets
 called too much, and seems like it's creating the problem. I tried an ugly
 hack by adding an usleep() in it to sleep for about 300ms, and it
 connected on the second try, but that seems to be too ugly even to think
 about leaving.

 Maybe the problem is that aim_icq_getstatusnote() uses
 flap_connection_send instead of flap_connection_send_snac() (which does
 queueing) ... I'll have to dig a bit deeper.

 I can provide packet captures, it anyone is interested.

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


More information about the Tracker mailing list