mirror of
https://github.com/hanzoai/semantic.git
synced 2026-10-30 15:04:19 +00:00
The guarded client took its proxy from the environment. Through a proxy the socket the address rules check is the proxy's, so HTTPS_PROXY in the environment quietly turned the socket-level check off. Both clients this package builds now dial the target themselves and never use a proxy; a host that fetches through its own egress injects Web.Client, which is used as given while Web still applies the pre-flight check, the timeout and the size cap. Max zero meant no limit, so a server decided how much memory a fetch took. It now means 32 MiB, and a caller that expects more says so. Co-authored-by: Hanzo Dev <[email protected]>