From: "Mauricio Fernández" Date: 2003-03-05T17:41:49+09:00 Subject: Re: TCPSocket delay problem On Wed, Mar 05, 2003 at 01:03:02PM +0900, Seth Kurtzberg wrote: > Thanks for everyone's help with my delay problem. The key insight was > provided by those who noticed that the problem is related to IPV6. I "fixed" > the problem (well, hacked around the problem) by forcing the family in calls > to getaddrinfo to be PF_INET. As someone pointed out there are a lot of > hosts on the 'net that have this deficiency, so although the ruby code is not > incorrect, it might be a good idea to change the default behavior, at least > for the moment. In my system the following options to configure when building Ruby fix it: --enable-ipv6 \ --with-lookup-order-hack=INET -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com We apologize for the inconvenience, but we'd still like yout to test out this kernel. -- Linus Torvalds, announcing another kernel patch