[haiku-bugs] Re: [Haiku] #8293: BNetworkAddress needs to check if there is an available IPv6 connection.

  • From: "donn" <trac@xxxxxxxxxxxx>
  • Date: Fri, 03 Feb 2012 21:34:13 -0000

#8293: BNetworkAddress needs to check if there is an available IPv6 connection.
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  high                      |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by donn):

 If this isn't the same problem, it seems closely related.  WebPositive, as
 of r43668, spends about 15 seconds on futile IPv6 name resolution
 attempts, when no IPv6 is configured (as shown in ifconfig / Network
 pref.)

 I fixed the same problem in an application that uses libcurl, with a curl
 option that specifies IPv4 only.  I'm not saying, though, that WebPositive
 ought to be fixed the same way.  I guess it should continue to try to
 support IPv6 as appropriate, but the resolver library should know better
 than to send IPv6 queries when it isn't configured, so it should return
 right away, not after a 5 or 10 second select timeout.

 That might be through settings/network/irs.conf - I don't have one, and my
 attempt to create one only broke name resolution altogether.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8293#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: