HomeFreeBSD

fetch(3): move bits of fetch_socks5_getenv around

Description

fetch(3): move bits of fetch_socks5_getenv around

This commit separates out port parsing and validation from grabbing the host
from the env var. The only related bit really is that we need to be more
specific with the delimiter in the IPv6 case.

Details

Provenance
kevansAuthored on
Parents
rS357976: Merge r357970 from the clang1000-import branch:
Branches
Unknown
Tags
Unknown