mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
Sync and Follow_Up come on two sockets, each read by its own goroutine, so on a busy machine the Follow_Up was handled first, dropped as unknown, and no two-step sync ever measured (TestPTP failing in CI with "no measurements"; on one CPU under load, every time). A Follow_Up before its Sync is now kept till the Sync comes. Likewise a Delay_Req is recorded before it is sent, so a Delay_Resp handled before sendEvent returns is kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRTuaG98f8wiWHbNhPo