-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ws does not support multiple paths #381
Comments
Easier: create a http server and a single ws Server with some specific path, and add a log on the 'connection' event.
So, this means that if you set "path" and any client attempts to connect to a different path, then ws stops working forever. Wow. Not, this feature cannot be tested at all. |
This is "fixed" (I mean, removed) in my pull request #379. |
To be clear. Sharing the same So, my pull request removes all the path stuff from ws. Instead, the user can inspect the HTTP request in the |
Hi! I proposed a pull request #481 for using regexp both with string paths |
I am having same issue when sharing the WS servers with same express server. |
Nice to know, thanks. So sorry for my comment. |
No problem. |
OK, now go to a browser (Chrome for example) and open a ws connection to both paths:
And even worst, it behaves wrong after that and does not react on new events, etc. For example try to connect to path "/nonexist" and later again to "/qwe", nothing happens then.
So, is this feature really tested?
The text was updated successfully, but these errors were encountered: