Skip to content

Commit 1471a52

Browse files
authored
fix stream not returning data in node 21+ (#805)
1 parent 8392e22 commit 1471a52

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/fair-ducks-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/aws": patch
3+
---
4+
5+
fix stream not returning in node 21+

packages/open-next/src/overrides/wrappers/node.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const wrapper: WrapperHandler = async (handler, converter) => {
1313
res.setHeader("Set-Cookie", prelude.cookies);
1414
res.writeHead(prelude.statusCode, prelude.headers);
1515
res.flushHeaders();
16-
res.uncork();
1716
return res;
1817
},
1918
};

0 commit comments

Comments
 (0)