[Pidgin] #5212: MSNP14 hangs on connection to login.live.com
Pidgin
trac at pidgin.im
Tue Apr 1 05:33:24 EDT 2008
#5212: MSNP14 hangs on connection to login.live.com
--------------------------+-------------------------------------------------
Reporter: NTAuthority | Owner: khc
Type: defect | Status: new
Priority: minor | Milestone: Activate MSNPV14
Component: MSN | Version: 2.4.0
Resolution: | Keywords:
Pending: 0 |
--------------------------+-------------------------------------------------
Comment (by tomgr):
What Maiku said sounds correct but I think the problem is compounded by
the logic in reading from the connection being slightly confused. The
other place where purple_ssl_read is used is in jabber.c:434, which is
approximately equivalent to:
{{{
Read as much data as possible
Attempt to parse the data and use it
If there was an error whilst reading, report the error
}}}
What is currently being done in soap2.c is that if an error is encountered
whilst reading, it reports the error immediately and discards any data
received.
I will attach a patch to make it behave more like jabber - I've been using
this for quite a while now and it certainly solves the afforementioned
problem. Also, I've changed the received buffer size to 16384 (double its'
previous size) to make it greater than the amount of data which is
received by libpurple from login.live.com. This directly counters the
problem, but does not solve the (mysterious) cause of it.
--
Ticket URL: <http://developer.pidgin.im/ticket/5212#comment:3>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list