next.js
0995c503 - fix: use pipeToNodeWritable for PPR resume bridge instead of pipeToNodeResponse

Commit
80 days ago
fix: use pipeToNodeWritable for PPR resume bridge instead of pipeToNodeResponse pipeToNodeResponse calls flushHeaders() which doesn't exist on a PassThrough stream. Add pipeToNodeWritable() to RenderResult that uses node:stream/promises pipeline for clean piping to any Writable, guarded by NEXT_RUNTIME !== 'edge' for DCE.
Author
Committer
Parents
Loading