Houmgaor
ac59188488
refactor(byteframe): replace read-overflow panic with sticky error
...
ByteFrame previously panicked on out-of-bounds reads, which crashed
the server when parsing malformed client packets. Now sets a sticky
error (checked via Err()) and returns zero values, matching the
encoding/binary scanner pattern. The session recv loop checks Err()
after parsing to reject malformed packets gracefully.
Also replaces remaining panic("Not implemented") stubs in network
packet Build/Parse methods with proper error returns.
2026-02-20 20:00:54 +01:00
..
2026-02-20 19:11:41 +01:00
2026-02-20 14:36:37 +01:00
2026-02-19 18:13:34 +01:00
2026-02-19 18:13:34 +01:00
2026-02-19 18:13:34 +01:00
2026-02-20 19:50:28 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 19:35:25 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 15:59:36 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 00:47:14 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 15:59:36 +01:00
2026-02-20 19:35:25 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:46:57 +01:00
2026-02-18 21:39:13 +01:00
2026-02-19 00:23:04 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:13:54 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:50:28 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:35:25 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 17:07:42 +01:00
2026-02-19 00:23:04 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 19:46:57 +01:00
2026-02-20 18:42:08 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 18:58:32 +01:00
2026-02-19 00:23:04 +01:00
2026-02-18 18:10:34 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:50:28 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-18 23:02:44 +01:00
2026-02-20 18:58:32 +01:00
2026-02-20 18:58:32 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2026-02-20 17:07:42 +01:00
2026-02-19 00:05:20 +01:00
2026-02-19 00:05:20 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:50:28 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 18:58:32 +01:00
2026-02-20 20:00:54 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 18:58:32 +01:00