mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 10:37:03 -06:00
set_read_timeout applies to each read, so a peer that sent a byte just before every timeout expired could hold the connection thread, and its slot, for roughly twice the grace. Set the remaining time before each read instead.