mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-24 02:16:56 -06:00
Duplex::read_until gives a reader a deadline: each socket read waits at most what's left of it. The server reads the handshake and hello under the hello deadline, so a hello trickled in fragments can't outlast it; manage's close drains under CLOSE_DRAIN, so a silent server can't hold it for the idle timeout.