[WAMP] Topic subscription bug fix
This commit is contained in:
parent
dd8a59df69
commit
1505124954
10
CHANGELOG.md
10
CHANGELOG.md
@ -8,16 +8,12 @@ CHANGELOG
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
* wamp-topics (devel branch)
|
* 0.2 (2012-07-TBD)
|
||||||
|
|
||||||
* BC: Renamed "WampServer" to "ServerProtocol"
|
|
||||||
* BC: New "WampServer" component manages Topic containers of subscribed Connections
|
|
||||||
|
|
||||||
* 0.2 (2012-TBD)
|
|
||||||
|
|
||||||
* Ratchet passes every non-binary-frame test from the Autobahn Testsuite
|
* Ratchet passes every non-binary-frame test from the Autobahn Testsuite
|
||||||
* Major performance improvements
|
* Major performance improvements
|
||||||
* Ratchet now relies on all stable dependancies
|
* BC: Renamed "WampServer" to "ServerProtocol"
|
||||||
|
* BC: New "WampServer" component passes Topic container objects of subscribed Connections
|
||||||
* Option to turn off UTF-8 checks in order to increase performance
|
* Option to turn off UTF-8 checks in order to increase performance
|
||||||
* mbstring no longer required
|
* mbstring no longer required
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ class TopicManager implements WsServerInterface, WampServerInterface {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->topicLookup[$topic]->add($conn);
|
||||||
$conn->WAMP->topics->attach($topicObj);
|
$conn->WAMP->topics->attach($topicObj);
|
||||||
$this->app->onSubscribe($conn, $topicObj);
|
$this->app->onSubscribe($conn, $topicObj);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user