(web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Dr. Arne Babenhauserheide
Hi, with both fibers server and (web server) there is a split between IPv4 and IPv6: IPv4: (fibers:run-server handler-with-path #:family AF_INET #:port port #:addr INADDR_ANY) (run-server handler-with-path 'http `(#:host "localhost" #:family ,AF_INET #:addr ,INADDR_ANY #:port

Re: [PATCH] Added srfi-214: flexvectors

2022-01-19 Thread Vijay Marupudi
Thank you for taking a look Maxime. I have accidentally replied to just you and not the whole list, so there might be a duplicate email. > How about including the tests > (https://github.com/scheme-requests-for-implementation/srfi-214/blob/master/implementation/tests.scm) > as well? > > Guile

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Chris Vine
On Wed, 19 Jan 2022 13:07:33 + Chris Vine wrote: [snip] > As I understand it, with linux IPv6 sockets are dual stack capable, and > in earlier kernel versions this was be enabled by default. I believe > with current versions that is no longer the case, and that you have to > specifically

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Greg Troxel
Maxime Devos writes: > Maybe the IPV6_V6ONLY (see the ipv6(7) man page) is relevant here. > Alternatively, you could run two servers in parallel: one bound to an > IPv4 address and another bound to an IPv6 address. My feeling is that IPV6_ONLY is best avoided, for portability, and because

Re: [PATCH] Added srfi-214: flexvectors

2022-01-19 Thread Vijay Marupudi
> If no copyright assignment has happend, then the copyright still > belongs to the author > -- from the Git repository's LICENSE:  Copyright © Adam Nelson (2020)). > While possibly you might have made some small changes to flexvectors, > it seems that most code is preserved, so at most a ‘© FSF’

Re: [PATCH] Added srfi-214: flexvectors

2022-01-19 Thread Maxime Devos
Vijay Marupudi schreef op wo 19-01-2022 om 10:44 [-0500]: > > If no copyright assignment has happend, then the copyright still > > belongs to the author > > -- from the Git repository's LICENSE:  Copyright © Adam Nelson > > (2020)). > > While possibly you might have made some small changes to > >

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Chris Vine
On Wed, 19 Jan 2022 08:57:51 +0100 "Dr. Arne Babenhauserheide" wrote: > Hi, > > > with both fibers server and (web server) there is a split between IPv4 > and IPv6: > > IPv4: > > (fibers:run-server handler-with-path #:family AF_INET #:port port #:addr > INADDR_ANY) > > (run-server

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Chris Vine
On Wed, 19 Jan 2022 13:44:13 + Chris Vine wrote: > By the way I did use dual stack some years ago, and I cannot now > remember all the details, but I think I may have had to bind on > in6addr_any (which in dual stack would cover INADDR_ANY) or on ::

Re: [PATCH] Added srfi-214: flexvectors

2022-01-19 Thread Maxime Devos
Vijay Marupudi schreef op wo 19-01-2022 om 08:51 [-0500]: > > however, the README says ‘by Adam Nelson’.  Did you reach some kind > > of > > agreement with Adam Nelson about copyright assignment?  And since > > SRFIs > > are licensed under Expat (not 100% sure), wouldn't this need to be > > the >

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Dr. Arne Babenhauserheide
Chris Vine writes: > On Wed, 19 Jan 2022 13:44:13 + > Chris Vine wrote: >> On Wed, 19 Jan 2022 13:07:33 + >> Chris Vine wrote: >> [snip] >> > As I understand it, with linux IPv6 sockets are dual stack capable, and >> > in earlier kernel versions this was be enabled by default. I

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Chris Vine
On Wed, 19 Jan 2022 13:44:13 + Chris Vine wrote: > On Wed, 19 Jan 2022 13:07:33 + > Chris Vine wrote: > [snip] > > As I understand it, with linux IPv6 sockets are dual stack capable, and > > in earlier kernel versions this was be enabled by default. I believe > > with current versions

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Dr. Arne Babenhauserheide
Greg Troxel writes: > [[PGP Signed Part:Signature made by expired key 1FDA7AE8098ED60E Gregory D. > Troxel (low security, at work) ]] > > Maxime Devos writes: > >> Maybe the IPV6_V6ONLY (see the ipv6(7) man page) is relevant here. >> Alternatively, you could run two servers in parallel: one

Re: (web server) serving on both ipv6 and ipv4?

2022-01-19 Thread Maxime Devos
Dr. Arne Babenhauserheide schreef op wo 19-01-2022 om 08:57 [+0100]: > Hi, > > > with both fibers server and (web server) there is a split between IPv4 > and IPv6: > > > IPv4: > > (fibers:run-server handler-with-path #:family AF_INET #:port port #:addr > INADDR_ANY) > > (run-server

Re: [PATCH] Added srfi-214: flexvectors

2022-01-19 Thread Maxime Devos
Vijay Marupudi schreef op di 18-01-2022 om 21:34 [-0500]: > Hello, > > I have attached to this email a patch to add support for srfi-214, > flexvectors. > > I have made as few changes to the code from the sample implementation. > > If this is accepted, I can work on adding to the documentation.