Claude Bot
431c5a3694
fix(http2): avoid multiple empty DATA frames when ending stream
...
This fixes an issue where Bun's HTTP/2 server implementation would send
multiple consecutive empty DATA frames when ending a stream, causing
Envoy proxy to abort with PROTOCOL_ERROR.
Changes:
1. In noTrailers(), send an empty HEADERS frame with END_STREAM flag
instead of an empty DATA frame. This is more appropriate per RFC 7540
Section 8.1 and avoids issues with proxies that limit consecutive
empty frames.
2. In Http2Stream.end(), don't create an empty buffer when no chunk
is provided. This prevents an unnecessary empty DATA frame from
being sent before _final() is called.
Fixes #21759
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-27 07:30:32 +00:00
..
2026-01-23 00:10:48 -08:00
2025-12-11 17:44:14 -08:00
2026-01-21 13:39:25 -08:00
2025-12-15 12:51:13 -08:00
2026-01-23 11:02:26 -08:00
2026-01-27 07:30:32 +00:00
2026-01-23 11:02:26 -08:00
2026-01-23 11:02:26 -08:00
2026-01-16 18:46:48 -08:00
2026-01-19 22:45:56 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 13:34:31 -08:00
2026-01-23 00:07:06 -08:00
2025-11-10 14:38:26 -08:00
2026-01-22 13:44:49 -08:00
2026-01-19 17:04:44 -08:00
2026-01-19 17:12:42 -08:00
2026-01-21 18:41:15 -08:00
2026-01-16 16:23:01 -08:00
2026-01-14 18:37:54 -08:00
2026-01-27 07:30:32 +00:00
2026-01-09 16:56:31 -08:00
2025-10-03 17:10:28 -07:00
2026-01-21 13:01:25 -08:00
2025-11-24 20:16:03 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-12-25 23:49:23 -08:00
2026-01-15 18:09:33 -08:00
2025-11-10 14:38:26 -08:00
2025-11-20 20:56:02 -08:00
2026-01-19 15:24:57 -08:00
2025-11-10 14:38:26 -08:00
2026-01-21 13:01:25 -08:00
2026-01-23 00:07:06 -08:00
2026-01-21 13:01:25 -08:00
2025-11-10 14:38:26 -08:00
2025-12-22 12:07:24 -08:00
2026-01-23 00:07:06 -08:00
2026-01-21 13:01:25 -08:00
2025-12-25 14:00:58 -08:00
2026-01-14 16:46:20 -08:00
2025-11-10 14:38:26 -08:00
2025-10-04 02:17:55 -07:00
2026-01-22 14:35:18 -08:00
2025-11-26 00:02:43 -08:00
2025-11-05 15:28:28 -08:00
2025-11-10 14:38:26 -08:00
2025-10-23 23:08:08 -07:00
2026-01-05 10:21:49 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 00:24:18 -08:00
2026-01-23 00:24:18 -08:00
2025-11-25 11:06:24 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 19:58:02 -08:00
2026-01-07 12:33:21 -08:00
2026-01-23 00:24:18 -08:00
2025-09-26 15:19:45 -07:00
2026-01-22 04:22:45 -08:00
2025-10-29 19:29:04 -07:00
2025-11-03 22:20:07 -08:00
2025-11-10 14:38:26 -08:00
2026-01-22 04:22:45 -08:00
2025-11-20 20:56:02 -08:00
2025-09-26 22:21:00 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 20:21:57 -08:00
2026-01-23 00:24:18 -08:00
2026-01-22 04:22:45 -08:00
2025-11-10 14:38:26 -08:00
2026-01-21 13:01:25 -08:00
2025-10-23 23:08:08 -07:00
2025-11-10 14:38:26 -08:00
2026-01-07 16:09:49 -08:00
2025-10-04 00:31:47 -07:00
2025-11-10 14:38:26 -08:00
2025-10-02 14:11:29 -07:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-18 13:19:30 -08:00
2026-01-07 22:46:51 -08:00
2025-12-17 19:56:25 -08:00
2025-11-10 14:38:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 23:09:01 -08:00
2025-11-10 14:38:26 -08:00
2025-12-21 17:12:42 -08:00
2025-10-23 23:08:08 -07:00
2025-12-21 17:12:42 -08:00
2026-01-16 14:18:48 -08:00
2026-01-23 00:24:18 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 00:24:18 -08:00
2025-10-18 18:14:01 -07:00
2025-11-10 14:38:26 -08:00
2026-01-21 13:39:25 -08:00
2025-11-30 23:11:33 -08:00
2026-01-23 11:02:26 -08:00
2026-01-21 13:01:25 -08:00
2025-09-30 00:10:15 -07:00
2025-12-06 16:37:09 -08:00
2025-12-01 21:59:11 -08:00
2025-11-10 14:38:26 -08:00
2025-11-13 19:29:16 -08:00
2025-09-26 15:15:58 -07:00
2026-01-14 12:52:41 -08:00
2025-11-15 16:36:15 -08:00
2025-09-26 22:21:00 -07:00
2026-01-21 13:39:25 -08:00
2025-09-22 19:28:26 -07:00
2025-11-10 14:38:26 -08:00
2026-01-23 11:02:26 -08:00
2025-11-10 14:38:26 -08:00
2026-01-21 13:01:25 -08:00
2025-12-15 19:50:11 -08:00
2025-12-15 19:50:11 -08:00
2026-01-20 12:47:07 -08:00
2026-01-22 13:44:49 -08:00
2025-11-10 14:38:26 -08:00
2026-01-23 11:02:26 -08:00
2025-10-03 17:10:28 -07:00
2025-12-15 13:21:41 -08:00
2025-11-10 14:38:26 -08:00
2026-01-14 16:46:20 -08:00
2026-01-22 04:22:45 -08:00
2025-11-30 23:11:33 -08:00
2025-11-10 14:38:26 -08:00
2025-12-18 21:42:14 -08:00