connection over ipv6 is broken

Bug #1244776 reported by koka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
In Progress
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!

Tags: ipv6

Related branches

Brian Aker (brianaker)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.