[Pidgin] #7166: erratic disconnects from yahoo messenger
Pidgin
trac at pidgin.im
Mon Sep 22 15:35:12 EDT 2008
#7166: erratic disconnects from yahoo messenger
------------------+---------------------------------------------------------
Reporter: todo | Type: defect
Status: new | Component: libpurple
Version: 2.5.1 | Keywords:
------------------+---------------------------------------------------------
For the past couple days, Yahoo messenger's server will kicked me out it
in random. I am on pidgin 2.5.1 using windows xp prof.
I spoke to Y's customer service, and I was told that pidgin is sending too
many pings to their servers, so they treated pidgin clients as spammers,
as a result, connections are dropped.
While observing both Yahoo messenger (8.x and 9.x) and pidgin on ethereal,
I see that pidgin is sending ping every 30 secs. Y's messenger clients are
sending one ping per ~1hr.
On even closer inspection, it looks like during the initial connect to Y's
server, YAHOO_SERVICE_PING includes 143 and 144. 60 is assigned to 143,
and 1 is assigned to 144. If my guess is right, 143 is the ping timeout in
min, so 60min is 1hour.
I skimmed through libpurple code a little, and I only see send_keepalive
function (which sends a keepalive every 30 (sec which is my guess)), but
no send_ping function. And I think libpurple is using this for both ping
and keepalive.
Can someone that's familiar with the libpurple confirm what I found is
correct? And of course, a solution will be greatly appreciated too.
Thanks a lot!
--
Ticket URL: <http://developer.pidgin.im/ticket/7166>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list