[Pkg-kde-extras] Bug#611480: klibido: IPv6 support rudimentary, does not support failover for clusters

Martin Kotzan mko-debbug at nocabal.de
Sat Jan 29 20:17:16 UTC 2011


Package: klibido
Version: 0.2.5-7+b1
Severity: important
Tags: patch ipv6

With the current connection scheme, only a connection to the first IP address 
of any address family is tried; a connection over IPv6 is only attempted if 
there is no IPv4 address.

This means that klibido breaks if the "first" server in a cluster is down
or refusing connections.
And of course IPv6-only systems break if the server is dual-stack.

The attached patch is a revision of my previous patch, it uses getaddrinfo 
to determine the addresses to connect to, connect (in myConnect()) is called 
in a loop. I'm also attaching an incremental patch.

Thank you!

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18_ipv6_2.diff
Type: text/x-c
Size: 4309 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20110129/a16ecb82/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18_ipv6_incremental.diff
Type: text/x-c
Size: 2994 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20110129/a16ecb82/attachment-0001.bin>


More information about the pkg-kde-extras mailing list