-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Proxy: add websocket support #596
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
Conversation
Can you please specify the test plan for this change? Please see CONTRIBUTING.md. |
hope this works and drops the ws limitation ! |
Yeah. I'll take a look at it when I have some time. On Thu, Sep 8, 2016 at 6:05 AM, Mathieu POUSSE [email protected]
JavaScript, Go, Linux and Open Source
|
+1 for this and sooner rather than later. My site(s) use the websocket interface extensively |
FYI: socket.io works with the proxy already (by falling back on xhr polling) if that's a good enough alternative. |
Can I ask somebody in this thread to review this change and verify it works? There is no test plan in this PR so I have no idea how to check if the fix is correct. |
ws: true, | ||
}); | ||
devServer.use(mayProxy, proxyMiddleware); | ||
devServer.listeningApp.on('upgrade', proxyMiddlware.upgrade); |
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.
Looks like a typo: proxyMiddlware
but variable is proxyMiddleware
.
Have you verified this code works by running it?
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.
Needs variable name fix and a test plan.
I’m closing because this doesn’t work and it seems like it wasn’t tested. |
No description provided.