mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Resolve the plain http:// target of a WebSocket HTTP or HTTP_PROXY integration once, reject metadata and link-local results, and connect to the checked InetAddress so the name cannot be re-resolved between the check and the connection. The pinned request and its response parsing now live in a shared PinnedHttpClient that HTTP_PROXY uses too, so both integrations keep the same bounds: the 10 MB payload quota on the Content-Length, chunked and close-delimited paths, rejected negative or oversized chunk sizes, and the CRLF check after each chunk. The Host header carries the target host and port only, without any credentials the integration URI holds.