-
Notifications
You must be signed in to change notification settings - Fork 275
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
Null session ID in registration/subscription meta events when callee/subscriber leaves #2084
Comments
yes, the
that means: if crossbar doesn't fill it, that's a bug. here is the sequence of code that I think is run. the ID is fetched from the 2 cases above are exactly here
crossbar/crossbar/router/dealer.py Line 660 in 03d7057
crossbar/crossbar/router/dealer.py Line 257 in 03d7057
not sure what might go wrong ... thing is, there are only a couple of places where
|
I've seen those |
When a callee leaves, the
wamp.registration.on_unregister
meta event that is emitted contains anull
session id argument instead of an expected integer. The same thing happens with thewamp.registration.on_delete
meta event.The same goes for a subscriber leaving. When a subscriber leaves, the
wamp.subscription.on_subscribe
meta event that is emitted contains anull
session id argument instead of an expected integer. The same thing happens with thewamp.subscription.on_delete
meta event.Is the
null
session ID intentional is these cases, due to callee/subscriber session no longer existing? The WAMP spec listssession|id
as the first positional argument, and does not mention anything about it being nullable.This is with Crossbar v.23.1.2.
The text was updated successfully, but these errors were encountered: