Bug#666651: Bug#667737: libnet-server-perl: no IPv4 server when binding to localhost

2012-05-02 Thread Per Carlson
Hi Daniel. A bit late maybe, but... At its core, there's a concern here that asking a server to bind to a name might actually bind it to multiple addresses (since a name can have multiple addresses).  I'm not convinced that Net::Server can be properly made to bind to multiple addresses with

Bug#666651: Bug#667737: libnet-server-perl: no IPv4 server when binding to localhost

2012-04-07 Thread intrigeri
gregor herrmann wrote (06 Apr 2012 20:03:29 GMT) : Could any of our more IPv6-savvy members (dkg? intrigeri?) take a look at this patch? For the record, I doubt very much I'm more IPv6-savvy than anyone else here. Cheers! -- intrigeri | GnuPG key @

Bug#666651: Bug#667737: libnet-server-perl: no IPv4 server when binding to localhost

2012-04-06 Thread gregor herrmann
On Fri, 06 Apr 2012 14:02:41 +0300, Niko Tyni wrote: Unfortunately libnet-server-perl currently only binds an IPv6 socket when asked for 'localhost' if localhost is both 127.0.0.1 and ::1 in /etc/hosts. I think this is a bug. Consider a server: # perl -MNet::Server -e 'package S; use base

Bug#666651: Bug#667737: libnet-server-perl: no IPv4 server when binding to localhost

2012-04-06 Thread Daniel Kahn Gillmor
On 04/06/2012 04:03 PM, gregor herrmann wrote: On Fri, 06 Apr 2012 14:02:41 +0300, Niko Tyni wrote: Unfortunately libnet-server-perl currently only binds an IPv6 socket when asked for 'localhost' if localhost is both 127.0.0.1 and ::1 in /etc/hosts. I think this is a bug. Consider a server: