next.js
ce63a443 - fix: use Node.js PassThrough bridge for PPR resume with node streams

Commit
70 days ago
fix: use Node.js PassThrough bridge for PPR resume with node streams The PPR resume path in app-page.ts unconditionally used a web TransformStream to bridge the resume render into the response. When node streams are enabled, the resume render produces a Node Readable, which cannot pipe to a web TransformStream writable. Use a Node PassThrough converted via Readable.toWeb() as the bridge when __NEXT_USE_NODE_STREAMS is true, keeping the web TransformStream path for the default case.
Author
Committer
Parents
Loading