sst / open-next

Open source Next.js serverless adapter
https://open-next.js.org
MIT License
3.73k stars 112 forks source link

Fix getHeaders crash #321

Closed khuezy closed 7 months ago

khuezy commented 7 months ago

This is a minor fix on a crash, but needs investigation later.

I tried to pipe the request instead and it works for some sites... Need to look into https://github.com/vercel/next.js/blob/canary/packages/next/src/server/lib/router-utils/proxy-request.ts I tried creating the stream from the request but that didn't work 🤷

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 68943f697367fb42afe6e10068805fe277c3b1de

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ❌ Failed (Inspect) Nov 22, 2023 5:06pm