Expand description
HTTP CONNECT proxy support.
Corporate firewalls often expose an HTTP CONNECT proxy (Squid,
Blue Coat, Zscaler, etc.). This module implements the client
side: open a TCP connection to the proxy, send CONNECT target:port HTTP/1.1, parse the 200 Connection established
response, and return the underlying TcpStream which is now
tunneled to the target.
SOCKS5 is out of scope for Phase 1 — see notes/TODO.md.
Structs§
- Proxied
Connection - A connection that routes through a local TCP listener backed by an HTTP CONNECT proxy. Used for backends (MySQL, MSSQL, Oracle) that do not accept a pre-built stream.
- Proxy
Config - Parsed proxy configuration.
Functions§
- is_
no_ proxy - Check whether the target host is covered by the
NO_PROXYenvironment variable. - resolve_
proxy_ from_ env - Resolve proxy configuration from the standard environment variable stack.