[Pidgin] #3610: MSNP14 Takes a long time to log-in

Pidgin trac at pidgin.im
Sat Nov 3 12:56:55 EDT 2007


#3610: MSNP14 Takes a long time to log-in
---------------------+------------------------------------------------------
  Reporter:  tomgr   |       Owner:  khc   
      Type:  defect  |      Status:  new   
  Priority:  minor   |   Milestone:        
 Component:  MSN     |     Version:        
Resolution:          |    Keywords:  MSNP14
   Pending:  0       |  
---------------------+------------------------------------------------------
Comment (by tomgr):

 The throughput is not the problem in this case. The problem is that during
 login there is a 1 minute pause (so total login is about 1minute 20ish)
 when nothing (really nothing, i.e. no network activity) is happening (if
 you look at the Adium ticket there is more information there). On linux it
 is as fast as the windows client, if not faster.

 I think the current bug is that all the data is received by libpurple, but
 it is sitting in a buffer somewhere or other. If I look at the debug log
 under Adium the request to retrieve the address book is the long running
 one. It receives the data in blocks of 8192 bytes over 2 seconds ish. It
 then pauses for just over a minute where nothing happens. Then the last
 906 bytes are received by your soap code. However, I know that all the
 data was transmitted during the initial two seconds - the act of the
 Microsoft servers closing the soap connection is what jogs Libpurple into
 processing the data the last few bytes.

 What I find odd is that the first two soap connections do not exhibit this
 behaviour of not processing the last few bytes - as the code is all shared
 in the soap2.c file as I understand.

 I hope that makes sense, I can attach a debug log if you like, I will just
 have to go through and remove all e-mail addresses first!

 I would agree with you that the connection should be a https one, not a
 http one - if encryption can be used then it should really be! Also, it is
 possible Microsoft may disable the http one - I presume all the windows
 clients use the encrypted one after all.

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


More information about the Tracker mailing list