-
Notifications
You must be signed in to change notification settings - Fork 118
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
Subscribe the same channel name with more than one callback #237
Comments
@jarkt are you trying to register multiple RPCs with the same URI? |
Sorry bad wording, I meant subscriptions. |
@jarkt - are you using crossbar? |
Yes
|
@jarkt - There is an issue open here wamp-proto/wamp-proto#142 (comment) Crossbar returns an identical subscription id if the subscription is exactly the same as an existing subscription. The I will ask for clarification on the spec before figuring out which way to proceed. |
@jarkt - After rereading the crossbar issue, it looks like thruway should be updated to handle multiple subscriptions returning the same ids and should have an internal counter that unsubscribes when it gets down to zero. |
Currently the class Thruway\Role\Subscriber ignores the fact that it can be legitimate to subscribe the same channel multiple times.
https://github.com/voryx/Thruway/blob/master/src/Thruway/Role/Subscriber.php#L164
The text was updated successfully, but these errors were encountered: