Skip to content
Commit Detail

Commit 6880e24

Author
James M Snell <jsnell@cloudflare.com> 2026-02-19 13:34:10 -0800
Parents
fafdac0
Tree
bc412b1
Update internal and standard streams to use state-machine.h (#5670)

Includes a fix to an already existing bug that when piping a readable
stream through a transform stream, and the transform's readable
side is canceled, the source readable would not be correctly
released and marked as closed. With this fix, verified that the
behavior is correct per the spec and matches other implementations.
Should not be a breaking change as this as previously broken and
would error in inconsistent ways (IdentityTransformStream would
error differently than a regular TransformStream), now both have
consistent and correct behavior.

Files changed