[Xapian-tickets] [Xapian] #374: IPv6 support
Xapian
nobody at xapian.org
Wed Mar 25 06:59:53 GMT 2015
#374: IPv6 support
----------------------------+------------------------------
Reporter: olly | Owner: olly
Type: defect | Status: assigned
Priority: low | Milestone: 1.3.3
Component: Backend-Remote | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
----------------------------+------------------------------
Comment (by olly):
I have a patch for this, which is mostly there.
The main remaining issue is that I don't see how you're meant to handle
binding to a specified hostname/ip address. The latest RFC and POSIX and
the Linux man page all carefully say that you need to use `AI_PASSIVE` if
you want to use bind() and that if `node` isn't `NULL` then `AI_PASSIVE`
is ignored.
Trying to check the entries in the returned list against the hostname/ip
address string seems rather tricky to get right.
The previous RFC didn't have the bit about ignore `AI_PASSIVE` when `node`
isn't `NULL`, which makes a lot more sense. AFAICT, the RFC was changed
to align it with POSIX.
--
Ticket URL: <http://trac.xapian.org/ticket/374#comment:8>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list