[Pidgin] #15418: network: Add dual stack socket API / fix AF_UNSPEC usage

Pidgin trac at pidgin.im
Thu Aug 21 02:00:23 EDT 2014


#15418: network: Add dual stack socket API / fix AF_UNSPEC usage
--------------------------------------------------+------------------------
 Reporter:  tux                                   |       Owner:
     Type:  patch                                 |      Status:  new
Milestone:  3.0.0                                 |   Component:  libpurple
  Version:  2.10.6                                |  Resolution:
 Keywords:  ipv6 dualstack api network af_unspec  |
--------------------------------------------------+------------------------

Comment (by tux):

 That reminds me, I also didn't manage to update the patch with elb's
 feedback yet. Therefore I'm quoting the according lines from the xmpp chat
 back then (and hope s/he doesn't mind):

 2013-07-02.103502+0200CEST:
 {{{
 (17:05:59) elb: T_X: so, as I understand that patch, if the v6only option
 is not set and the listen address that comes back is IPv6, it tries to
 unset the IPV6_V6ONLY sockopt?
 (17:07:04) elb: and this condition is set when dual_stack_support is true,
 otherwise it's set false and the listen is AF_INET
 (17:08:13) elb: purple_network_has_dual_stack_support leaks a socket
 (17:08:52) elb: and that goto is unnecessary
 (17:11:58) elb: I think maybe _dual should be the default, and the other
 listen made _v4only or something
 }}}

--
Ticket URL: <https://developer.pidgin.im/ticket/15418#comment:3>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list