hostname resolution in libshout

RJ Ryan <[email protected]>
Newsgroups gmane.comp.audio.icecast.devel
Message-ID <CAKrSP5b9T7EOGnM9WgziHTJjmcucVCm6ug-9FP7yMp-gBn0vvw@mail.gmail.com>
We (Mixxx) have a user who reported an issue with hostname resolution.

Here's the bug report: https://bugs.launchpad.net/mixxx/+bug/1391654

They say their hostname resolves to both ipv4 and ipv6 and they bound
icecast to the ipv4 interfaces.  (I'm not sure why they don't bind to
both). Mixxx cannot connect to icecast presumably because libshout is
resolving and connecting to the ipv6 address.

We do nothing but call shout_set_host with the user-provided host string.

They are requesting that libshout "fall back" on the ipv4 resolution of the
hostname if the ipv6 version fails to connect.

Two questions:
1) Is this intended behavior that isn't working?
2) Is this desired behavior to have within libshout? (i.e. a suitable
feature request)

If either is yes I'll go ahead and file a bug on the Trac. If not I'll keep
this as a feature request for Mixxx.

Best regards,
RJ Ryan (Mixxx developer)

_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.