git-daemon in IPv4 and IPv6 mode

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-daemon in IPv4 and IPv6 mode

From: Sebastian Pipping <hidden>
Date: 2016-06-15 22:47:38

hello!


it seems like the git daemon cannot bind to both IPv4 and IPv6 at the
same time, yet.  if that's true either ipv4 or ipv6 people are standing
in the rain unless i run two instances of the daemon in parallel.

is supporting both in a single instance planned or possible already?  if
so: how?

thanks in advance,



sebastian

Re: git-daemon in IPv4 and IPv6 mode

From: Vineet Kumar <hidden>
Date: 2016-06-15 22:47:39

* Sebastian Pipping <webmaster <at> hartwork.org> writes:
it seems like the git daemon cannot bind to both IPv4 and IPv6 at the
same time, yet.
It doesn't seem that way here.  I just tried to run a git-daemon and
it listened by default on 0.0.0.0:9418 (v4) and :::9418 (v6).  I could
connect using either v4 or v6.  Is yours behaving differently?

Have a look at the output from "strace -ebind,socket,listen ./git-daemon".

Vineet
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help