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
2025-10-31 12:59:32 +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-16 22:19:44 +01:00
2026-02-20 19:46:57 +01:00
2026-02-16 22:19:44 +01:00
2024-03-15 00:54:18 +00:00
2026-02-16 22:19:44 +01:00
2026-02-20 19:35:25 +01:00
2026-02-16 22:19:44 +01:00
2026-02-20 17:07:42 +01:00
2026-02-16 22:19:44 +01:00
2026-02-18 21:39:13 +01:00
2026-02-17 17:59:00 +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-17 23:33:44 +01:00
2026-02-20 17:07:42 +01:00
2026-02-16 22:19:44 +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-16 22:19:44 +01:00
2026-02-17 17:59:00 +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-16 22:19:44 +01:00
2026-02-17 17:59:00 +01:00
2026-02-20 17:07:42 +01:00
2026-02-16 22:19:44 +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-16 22:19:44 +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-16 22:19:44 +01:00
2026-02-20 19:50:28 +01:00
2026-02-16 22:19:44 +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
2025-11-01 00:37:59 +01:00
2026-02-16 22:19:44 +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-16 22:19:44 +01:00
2026-02-20 19:46:57 +01:00
2026-02-16 22:19:44 +01:00
2022-07-29 03:25:23 +10:00
2026-02-20 18:42:08 +01:00
2026-02-17 17:54:51 +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-16 22:19:44 +01:00
2026-02-20 19:50:28 +01:00
2026-02-16 22:19:44 +01:00
2022-07-29 03:25:23 +10:00
2026-02-16 22:19:44 +01:00
2023-02-13 22:27:07 +11: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-16 22:19:44 +01:00
2025-10-19 22:43:05 +02: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-16 22:19:44 +01:00
2025-10-21 00:00:08 +02:00
2026-02-18 23:02:44 +01:00
2026-02-20 18:58:32 +01:00
2026-02-16 22:19:44 +01:00
2023-03-27 21:29:23 +11: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-16 22:19:44 +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-17 18:07:38 +01:00
2026-02-20 17:07:42 +01:00
2026-02-16 11:31:42 +01:00
2026-02-20 18:58:32 +01:00
2026-02-16 22:19:44 +01:00
2024-11-09 18:20:49 +11:00
2026-02-16 22:19:44 +01:00
2026-02-16 22:19:44 +01:00
2026-02-17 17:59:00 +01:00
2025-10-31 12:59:32 +01:00
2026-02-20 20:00:54 +01:00
2026-02-16 22:19:44 +01:00
2026-02-17 18:07:38 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 18:58:32 +01:00
2026-02-17 23:57:14 +01:00