Files
scriptc/packages/runtime
Chris Tate 30d611e9da Read a stream body to its end when its queue filled before the read
text(), json(), bytes() and the other body readers of a Response or
Request whose body is a ReadableStream asked the stream's source for more
chunks after draining its queue only when the stream had a zero
high-water mark. When the queue had filled before the read began (a timer
ran after the Response was made), the reader took the queued chunk and
then waited for a close that no pull would bring, and the read never
settled. The reader now pulls whenever it empties the queue, so it reads
to the end, as Node does. This applies to streams from ReadableStream.from,
from an underlying source, and to JavaScript ReadableStreams.

Adds corpus programs fetch-body-queued-before-read.ts and
fetch-body-queued-before-read-untyped.mjs, with their corpus costs and
preflight/order baselines.
2026-10-28 00:23:51 -05:00
..
2026-10-27 16:45:14 -05:00
2026-07-22 18:08:04 -05:00
2026-10-25 11:26:13 -05:00