[Pidgin] #13773: bonjour aborts chat if the connection with the first IP address fails
Pidgin
trac at pidgin.im
Tue Apr 19 20:33:53 EDT 2011
#13773: bonjour aborts chat if the connection with the first IP address fails
--------------------------+-------------------------------------------------
Reporter: ari | Owner: rekkanoryo
Type: defect | Status: new
Component: unclassified | Version: 2.7.11
Keywords: |
--------------------------+-------------------------------------------------
From http://bugs.debian.org/623315:
{{{
(17:16:43) bonjour: Starting conversation with foo at bar
(17:16:43) proxy: Attempting connection to x:x:dx:x:226:b0ff:fee8:4fdc
(17:16:43) proxy: Connecting to x:x:x:x:226:b0ff:fee8:4fdc%2:51404 with no
proxy
(17:16:43) proxy: Connection in progress
(17:16:43) proxy: Connecting to x:x:x:x:226:b0ff:fee8:4fdc%2:51404.
(17:16:43) proxy: Error connecting to x:x:x:x:226:b0ff:fee8:4fdc%2:51404
(Connection refused).
(17:16:43) proxy: Connection attempt failed: Connection refused
(17:16:43) bonjour: Error connecting to buddy foo at bar at
x:x:x:x:226:b0ff:fee8:4fdc%2:51404 error: Connection refused
}}}
foo at bar is an Apple iChat buddy. It appears that iChat advertises an IPv6
address but does not bind to it. Nevertheless, it binds to an IPv4 address
and
advertises it as well. The bonjour implementation in libpurple only tries
to
connect to the first IP address in its list, which in this case should not
be
advertised. It seem reasonable to make libpurple try to connect to the
other
addresses then.
I attach a patch to implement this behavior.
--
Ticket URL: <http://developer.pidgin.im/ticket/13773>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list