Proxy: add websocket support#596
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 notifications@github.com
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.
Looks like a typo: proxyMiddlware but variable is proxyMiddleware.
Have you verified this code works by running it?
gaearon
left a comment
There was a problem hiding this comment.
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.