Replies: 1 comment 1 reply
-
First place to check would be v20 release notes https://github.com/uNetworking/uWebSockets/releases/tag/v20.0.0 Which happens to mention exactly this in the first line. It is very easy to get the same behavior, just change around your subscriptions a bit. For your example you would subscribe to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I originally wrote my websocket server using uWebSockets 19.5.0. I previously went to upgrade to v20+ but it broke. I have just gone back to upgrade to the latest version and I have found the problem, but I do not understand why. I'm hoping someone can answer why my wildcard subscription does not work in versions 20 and above.
I have set up the web server to accept dynamically added topics to a specifically registered room. During the open hook I subscribe the incoming web socket to all topics from that room using # as per this line ws.subscribe(ws.wsRoomToken+'#');
when I back date to v19.5.0 it all works. If I remove the # and enter a known subscription topic it works in versions 20 and above. I thought the wildcard character or function had changed but this block of info in the uws.js file remains the same
Can someone please guide me on how to get the wildcard working in versions 20 and above
Thanks
Beta Was this translation helpful? Give feedback.
All reactions