forked from boostorg/beast
1 parent
1f0ad880fc
commit
e5e25f5c17
3 files changed
+37
-2
No files matched your search
@@ -225,9 +225,9 @@ operator()(error_code ec, std::size_t)
|
||||
ws_.wr_op_.maybe_invoke();
|
||||
if(! dispatched_)
|
||||
ws_.stream_.get_io_service().post(
|
||||
bind_handler(std::move(h_), ec));
|
||||
bind_handler(std::move(h_), ec, 0));
|
||||
else
|
||||
h_(ec);
|
||||
h_(ec, 0);
|
||||
}
|
||||
|
||||
} // websocket
|
||||
|
||||
Reference in new issue
Block a user