-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: support custom servers using HTTP/2 in production #12989
Conversation
🦋 Changeset detectedLatest commit: dcefdcf The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
5efddb4
to
e699e3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In #3572, we were able to check the major version of the incoming request and only operate on it then. Is that a possibility here, to avoid doing extra work cloning objects and looking for properties on every incoming request?
done I hadn't remembered that we had this before 😆 guess we should have kept it rather than merging #7142. perhaps undici has gotten stricter than it used to be |
This was something I tried in the previous PR but ran into some issues with the request URL being set incorrectly during https (#12907 (comment)). Can you verify if this works with HTTPS turned on during dev / preview while navigating around a SvelteKit website? |
0949929
to
3cb2c54
Compare
preview: https://svelte-dev-git-preview-kit-12989-svelte.vercel.app/ this is an automated message |
It should work now, but please test and let me know if it doesn't |
If we merge #12977 first it might help with testing |
LGTM. Managed to reproduce the issue I had earlier where the
|
Awesome. Thanks for the help! |
closes #11365