mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* chore(core): own the Docker HTTP transport, with docker-java's settings unchanged docker-java's ApacheDockerHttpClient builder exposes only the host, SSL config, pool size and the connect and response timeouts. Idle-connection validation and eviction, and a timeout for leasing a pooled connection, are set inside a private constructor, so Floci cannot reach them. FlociDockerHttpClient and HijackingHttpRequestExecutor are adapted from docker-java 3.7.1's httpclient5 transport and apply exactly its settings: unix, npipe and tcp hosts, TLS from the SSL config, a single-route pool, no pooled socket read timeout, the request response timeout, no stale-connection validation, and the hijacked exec/attach upgrade. DockerClientProducer builds both pools with it. Nothing changes behaviour here; follow-ups turn on idle validation and the lease timeout on this class. docker-java is Apache License 2.0 and ships no NOTICE file, so the obligations are the licence text, added as licenses/Apache-2.0.txt, and the attribution, which each adapted file's header gives along with what changed. * chore(core): pick the Docker host and path prefix with a switch expression