Luis Pater
ce38c75c62
fix(claude): drain streamed response body after message_stop to reuse upstream connections
...
- Add NewDetachableContext in executor helpers so upstream requests follow downstream cancellation until message_stop and detach afterward before the handler cancels the request context.
- Close the output stream channel first and then drain up to 64 KiB of the remaining raw upstream response body to EOF so net/http returns completed streaming connections to the idle pool.
- Treat valid message_stop data lines in the translated streaming path as completion before translation so terminal-event cancellation does not abort connection pooling.
Closes : #7326
2026-11-07 21:39:22 +08:00
..
2026-11-04 23:33:59 +08:00
2026-11-04 23:33:59 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 12:51:28 +08:00
2026-11-03 12:51:28 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 12:51:28 +08:00
2026-11-03 12:51:28 +08:00
2026-11-04 23:58:05 +08:00
2026-11-04 23:58:05 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 08:17:15 +08:00
2026-11-03 08:17:15 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 11:21:33 +08:00
2026-11-03 11:21:33 +08:00
2026-11-03 03:05:04 +08:00
2026-10-31 10:04:12 +08:00
2026-10-31 10:04:12 +08:00
2026-11-06 18:38:00 +08:00
2026-11-06 18:38:00 +08:00
2026-11-04 02:58:57 +08:00
2026-11-04 02:58:57 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 21:39:22 +08:00
2026-11-07 21:39:22 +08:00
2026-10-29 09:46:47 +08:00
2026-10-29 09:46:47 +08:00
2026-11-05 19:23:39 +08:00
2026-11-01 14:27:46 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 08:40:02 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-29 23:25:54 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-29 14:42:21 +08:00
2026-10-29 14:42:21 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-24 02:18:56 +08:00
2026-11-03 22:44:16 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:20:38 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:20:38 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:14:16 +08:00
2026-11-01 14:14:16 +08:00
2026-10-29 12:34:51 +08:00
2026-10-29 12:34:51 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-27 04:18:42 +09:00
2026-10-27 04:18:42 +09:00
2026-10-27 04:18:42 +09:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-01 20:07:46 +08:00
2026-11-01 20:07:46 +08:00
2026-11-03 03:05:04 +08:00
2026-10-29 14:44:33 +08:00
2026-11-06 18:38:00 +08:00
2026-11-06 18:38:00 +08:00
2026-11-01 14:20:38 +08:00
2026-11-01 14:14:16 +08:00
2026-10-25 21:36:40 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00