Skip to content
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

http/2? #516

Closed
kevinSuttle opened this issue Jun 29, 2016 · 8 comments
Closed

http/2? #516

kevinSuttle opened this issue Jun 29, 2016 · 8 comments

Comments

@kevinSuttle
Copy link

I'm sure this has been documented somewhere, but I would love to see http/2 as the default in Webpack 2.x.

@SpaceK33z
Copy link
Member

SpaceK33z commented Aug 1, 2016

That would be very nice :)! Maybe I'll start working on it in the next week.

@SpaceK33z
Copy link
Member

I think it would make more sense to only enable it when --https is passed, because http/2 requires a secure connection.

@kevinSuttle
Copy link
Author

I believe localhost allows non-secure?

@SpaceK33z
Copy link
Member

No, it also needs https on localhost unfortunately (see also the example on node-http2).

I tried setting this up, but apparently the http2 package does not work with Express yet.

@SpaceK33z
Copy link
Member

SpaceK33z commented Sep 19, 2016

Update on this situation: the spdy package actually supports http/2 and express. The name is very confusing, as SPDY itself is dead, but it works with HTTP/2 and Express. So that's very interesting...

@SpaceK33z
Copy link
Member

spdy-http2/node-spdy#276 is probably the last roadblock before we can begin implementing this.

@SpaceK33z
Copy link
Member

Above issue was fixed. Unfortunately another blocker: sockjs/sockjs-node#213
I tested everything, and after that PR is merged it works :).

@SpaceK33z
Copy link
Member

Done! See 25cbf84.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants