mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-06 21:23:51 +00:00
A single send() that returned fewer bytes than requested was logged but not retried, leaving the server with a truncated packet. This causes an irreversible TCP framing desync (next header lands mid-payload) that manifests as a disconnect under network pressure. Added a retry loop that handles EWOULDBLOCK with a brief yield. Also rejects payloads > 64KB instead of silently truncating the 16-bit CMSG size field, which would have written a wrong header while still appending all bytes. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| rendering | ||
| ui | ||
| main.cpp | ||