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-07 21:39:22 +08:00
2026-10-11 14:08:49 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-29 12:32:47 +08:00
2026-10-25 22:45:00 +08:00
2026-10-29 14:44:33 +08:00
2026-11-03 03:05:04 +08:00
2026-10-20 18:46:02 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-20 18:46:02 +08:00
2026-11-03 03:05:04 +08:00
2026-11-04 19:16:14 +08:00
2026-11-05 09:51:14 +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-05 09:51:14 +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 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-20 18:46: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-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-07 12:19:47 +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-04 18:14:30 +08:00
2026-11-07 12:19:47 +08:00
2026-11-03 08:17:15 +08:00
2026-11-04 18:26: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-11-05 09:51:14 +08:00
2026-11-07 21:39:22 +08:00
2026-10-29 14:39:43 +08:00
2026-11-07 21:39:22 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 12:51:28 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 12:19:47 +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 11:21:33 +08:00
2026-11-07 12:19:47 +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-06 09:24:42 +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-18 10:50:40 +08:00
2026-11-07 12:19:47 +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-14 20:59:02 +08:00
2026-11-07 01:44:42 +08:00
2026-11-07 01:44:42 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 01:57:53 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 20:24:19 +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 01:57:53 +08:00
2026-11-06 18:38:00 +08:00
2026-11-04 02:58:57 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 01:57:53 +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 01:57:53 +08:00
2026-11-03 03:05:04 +08:00
2026-10-21 23:04:23 +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 01:57:53 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 01:57:53 +08:00
2026-11-05 18:28:39 +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-06 18:38:00 +08:00
2026-11-03 03:05:04 +08:00
2026-11-05 08:59:25 +08:00
2026-11-05 18:28:39 +08:00
2026-11-07 01:44:42 +08:00
2026-11-07 01:44:42 +08:00
2026-11-03 03:05:04 +08:00
2026-10-27 04:29:38 +08:00
2026-11-03 03:05:04 +08:00
2026-10-28 18:33:51 +08:00
2026-10-26 10:09:56 +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-28 18:33:51 +08:00
2026-11-03 03:05:04 +08:00
2026-11-07 01:57:53 +08:00
2026-10-12 19:42:54 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-28 18:33: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-11-03 03:05:04 +08:00
2026-11-07 01:57:53 +08:00
2026-10-27 15:32:41 +08:00
2026-10-20 17:05:03 +08:00
2026-11-03 03:05:04 +08:00
2026-11-04 02:47:20 +08:00
2026-11-06 17:49:19 +08:00
2026-11-06 17:49:19 +08:00
2026-11-03 08:40:02 +08:00
2026-11-06 17:49:19 +08:00
2026-10-17 02:18:41 +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-21 10:33:05 +08:00
2026-11-04 19:16:14 +08:00
2026-11-04 19:16:14 +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-26 21:07:08 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-10-21 02:19:42 +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-04 19:16:14 +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-05 19:37:31 +08:00
2026-11-03 03:05:04 +08:00
2026-11-05 19:37:31 +08:00
2026-10-16 23:23:33 +08:00
2026-11-05 19:37:31 +08:00
2026-10-20 17:17:41 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-04 23:33:59 +08:00
2026-10-29 15:57:38 +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-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-05 18:28:39 +08:00
2026-11-03 03:05:04 +08:00
2026-10-25 22:34:48 +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-20 17:05:03 +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