mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 17:42:32 +01:00
A TCP availability check passed as soon as the connect succeeded. Docker's published-port proxy completes the handshake even when nothing in the container is listening, then closes the connection. So a dead service on the same Docker host as Pulse or its agent read as reachable. Measured on Docker 29.8, the close arrives within about 3 ms. The probe now waits up to 250 ms, never past the check's own timeout, for the first read. Data or silence passes. A close or reset with nothing sent fails and says why. A dial that fails with a reset gets the same answer, and a refusal is named plainly. Neither goes to the nc fallback, which exists for hosts the Go dialer cannot route to and tested only the connect. A silent service now takes a quarter of a second longer to check. A service that accepts and at once drops clients it does not allow now reads as down; the configuration reference says so.