Merge pull request #413 from rec/public-accessor
Make transport::asio::connection::get_strand() public.
This commit is contained in:
commit
6dde40d96e
1 file changed
+2
-1
@@ -361,7 +361,7 @@ public:
|
||||
callback(lib::error_code());
|
||||
}
|
||||
}
|
||||
protected:
|
||||
|
||||
/// Get a pointer to this connection's strand
|
||||
strand_ptr get_strand() {
|
||||
return m_strand;
|
||||
@@ -384,6 +384,7 @@ protected:
|
||||
* read or write the WebSocket handshakes. At this point the original
|
||||
* callback function is called.
|
||||
*/
|
||||
protected:
|
||||
void init(init_handler callback) {
|
||||
if (m_alog.static_test(log::alevel::devel)) {
|
||||
m_alog.write(log::alevel::devel,"asio connection init");
|
||||
|
||||
Reference in new issue
Block a user