[Bug 258665] fetch(8) should use Happy Eyeballs

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Sep 2021 14:41:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258665

            Bug ID: 258665
           Summary: fetch(8) should use Happy Eyeballs
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: stb@lassitu.de

fetch(8) currently picks one IP address to try and fetch a HTTP(S) resource
from, and fails if the TCP connection cannot be established.

fetch(8) should implement Happy Eyeballs
https://datatracker.ietf.org/doc/html/rfc6555 and try to establish connections
to some or all of the IP addresses a name resolves to, and use the "best"
connection to download the resource. This would improve the reliability on
dual-stack systems, where sometimes, certain addresses cannot be reached, due
to a variety of reasons.

-- 
You are receiving this mail because:
You are the assignee for the bug.