On Mon, Oct 03, 2011 at 04:19:34PM +0400, Konstantin Khomoutov wrote: > On Mon, 03 Oct 2011 16:00:14 +0530 > ashish...@lostca.se (Ashish SHUKLA) wrote: > > [...] > > 2. IPv6 support. Fossil uses IPv4 sockets by default. I was not sure > > if there was any technical reason to not add support for IPv6, so I > > modified it all relevant places (I was able to find) to use IPv6 > > sockets, perform hostname lookups using getaddrinfo(3), accept > > push/pulls to/from IPv6 address, and persist this information in the > > repository database. > [...] > > That is cool, but please be sure to make such IPv6 mode not enabled by > default unless it's somehow possible to make it work transparently on a > conventional box with IPv4 only networking.
It should just work as long as your IPv6 setup is not broken. E.g. as long as nothing in your network advertises a IPv6 default route AND doesn't provide ICMP6 failures, it will behave. It might also be a saner option to just always use getaddrinfo() and one of the fallback implementations that emulate getaddrinfo based on gethostbyname etc. That has the big advantage of keeping the main code #if free. Joerg _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users