HomeFreeBSD

libfetch: Gracefully skip unsupported protocols

Description

libfetch: Gracefully skip unsupported protocols

If socket() fails because the address family or protocol is unsupported,
just continue with the next address.

MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55407

Details

Provenance
desAuthored on Feb 21 2026, 1:18 AM
Reviewer
imp
Differential Revision
D55407: libfetch: Gracefully skip unsupported protocols
Parents
rGafbdcd402bb4: libfetch: Fail hard if interrupted while connecting
Branches
Unknown
Tags
Unknown