connection over ipv6 is broken

Bug #1244776 reported by koka on 2013-10-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Medium
Brian Aker

Bug Description

How to reproduce:
connect to any server over ipv6. On setting value it wil return erro "getaddrinfo() or getnameinfo() HOSTNAME LOOKUP FAILURE"

This happens because of connect.cc, function set_hostinfo
There is string
hints.ai_family= AF_INET;
It restricts host lookups to ipv4 only.
It was uncommented in revision 1144
http://bazaar.launchpad.net/~tangent-trunk/libmemcached/1.0/revision/1144#libmemcached/connect.cc

And it should be removed, so noone would uncomment it!

Related branches

Brian Aker (brianaker) on 2014-02-02
Changed in libmemcached:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
status: New → In Progress
milestone: none → 1.0.18
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers