erio
6c88631690
fix(gateway): prevent double-write on error passthrough responses
...
Service layer writes a complete JSON error response then returns error.
Handler's ensureForwardErrorResponse couldn't distinguish this from
"no response written" and appended an SSE event, corrupting the body.
Use gin.Context flag: service marks MarkResponseCommitted(c) after
writing, ensureForwardErrorResponse checks IsResponseCommitted(c)
and skips. Zero function signature changes, zero error wrapping.
2026-06-10 00:15:51 +08:00
..
2026-06-08 22:54:01 +08:00
2026-06-08 00:01:30 +08:00
2026-05-26 10:49:20 +08:00
2026-06-02 00:46:50 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-19 15:27:47 +08:00
2026-05-20 13:25:45 +08:00
2026-06-06 13:05:07 +08:00
2026-06-06 13:05:07 +08:00
2026-05-30 17:52:18 +08:00
2026-05-20 13:25:45 +08:00
2026-05-21 15:19:29 +08:00
2026-05-21 15:19:29 +08:00
2026-05-21 15:19:29 +08:00
2026-05-26 10:49:20 +08:00
2026-05-26 10:49:20 +08:00
2026-05-19 15:27:47 +08:00
2026-05-28 10:03:41 +00:00
2026-05-28 10:03:41 +00:00
2026-05-28 19:39:52 +08:00
2026-05-28 19:39:52 +08:00
2026-05-26 10:49:20 +08:00
2026-06-03 14:18:12 +08:00
2026-05-24 22:00:56 +08:00
2026-06-06 15:02:06 +08:00
2026-05-26 10:49:20 +08:00
2026-06-10 00:15:51 +08:00
2026-05-30 20:01:39 +08:00
2026-05-30 20:01:39 +08:00
2026-05-27 18:00:45 +08:00
2026-06-01 14:50:36 +08:00
2026-05-26 10:49:20 +08:00
2026-06-06 15:02:06 +08:00
2026-05-29 16:21:59 +08:00
2026-06-04 11:17:22 +00:00
2026-06-10 00:15:51 +08:00
2026-05-28 22:44:25 +08:00
2026-06-06 09:53:08 +08:00
2026-06-03 14:18:12 +08:00
2026-06-03 14:18:12 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-05-12 15:21:31 +08:00
2026-05-20 15:12:57 +08:00
2026-06-05 14:00:57 +08:00
2026-05-25 18:16:46 +08:00
2026-05-25 18:16:46 +08:00
2026-05-20 13:25:45 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-06-05 14:00:57 +08:00
2026-05-28 22:44:25 +08:00
2026-05-30 17:52:18 +08:00
2026-05-26 10:49:20 +08:00
2026-05-26 10:49:20 +08:00
2026-05-20 11:09:18 +08:00