Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 0/5] transport: unify ipv4 and ipv6 code paths

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:02

Erik Faye-Lund [off-list ref] writes:
On Thu, Mar 8, 2012 at 1:48 PM, Jonathan Nieder [off-list ref] wrote:
quoted
Hi,

These patches eliminate some ifdef-ery concerning NO_IPV6.  I used
them when writing the SRV patch, which applies on top, but it's
probably best to think of it as an independent topic.

Patch 4 is the heart of the series.  It provides an interface similar
to getaddrinfo that can be implemented on top of either gethostbyname
or getaddrinfo and puts each implementation in a separate file.  This
way, callers can just use the common API and they do not need to have
two copies of their code, one for each host resolution API.

Patches 1-3 move code around until all the code that patch 4 touches
is in one place.

Patches 5 is a potential error handling improvement noticed while
writing patches 1-4.  It's probably not actually needed but it was a
comfort to me.

These patches have been in use in Debian since June of last year.  I'd
like to see this in mainline early in the 1.7.11 cycle to make coding
that touches this area during that cycle more pleasant.  Thoughts of
all kinds welcome.
What happened to this series?
Yeah, what happened to it?  I was looking at the diff files Ubuntu
applies when generating its recent .deb files, and noticed these
patches today, and was wondering what was going on.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help