-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
HTTP2 insecure server crashes every time. #5347
Comments
Small correction: This fails for secure servers in express 5 as well. Different stack though:
|
I will suggest to open an issue on http2-express-bridge, It seems that the issue might be related to the library. |
Because Express.JS cannot work with HTTP/2 natively, and |
i would not mind contributing to create a separate version of express that works with HTTP2, backwards compatibility be damned. i would also not mind authoring the change if we can get about $10k-20k into a kickstarter for it. seems suitable and would likely deliver a lot more back to the community. |
It would be awesome if HTTP/2 ever gets added to
|
Yeah, well, a startup I consulted for ran out of cash in December and I need a job :) But no, I also want to see this happen. The last company I worked at informally sponsored Matteo you could say to continue working on Fastify. I could go to them, but this seems like it would stir some pots. If not them, a similar organization. I am sitting on a large monorepository solution without a safe way to go to market without getting ripped off by Vercel, the powers and IP thiefs at large. This seems like a reasonable way to gain some notoriety and while I seriously would just sit down for 3-6 months and do this, I burned out my bank account. I authored hot reloading in express without doing a server reload on top, and helping with HTTP2 could build trust to push this and similar changes into Express v5 as a PR(s). I do more stuff that allows route repositioning and declarative route ordering across a monorepository (where construction of route order is not always known in advance). Basically I have done a lot of additional work to make route positioning more dynamic that might be interesting to propose into Express. This is me, inventing a job for myself. Scratching at the food line. This is tech. |
See PR : #3730 I can pick up where this one left off (6 years ago!).. speed in Express is important to me. |
Hey! Can I join you? I'd love to work on this with you |
Yes let's chat @QuantGeekDev i added you in LI |
I am trying to write an insecure HTTP2 web server. However it crashes on any inputs.
I need an insecure HTTP2 server. Here's my code:
I'm testing using
curl --insecure -v -k --http2-prior-knowledge "http://[::]:8080"
Every time I execute it, the server crashes with:
When I add an SSL certificate and use
createSecureServer
everything works fine. But when I usecreateServer
it crashes.I think it's a bug in
express
orhttp2-express-bridge
because without specifying the app, and handling the stream directly produces no errors.My info:
Thank you.
The text was updated successfully, but these errors were encountered: