Fine tune websocket asserts

This commit is contained in:
Vinnie Falco
2017-06-29 09:08:25 -07:00
parent 48929c4b3c
commit 4c41db9ca8
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,10 @@ Version 71:
* Fix extra ; warning
* Documentation revision
WebSockets:
* Fine tune websocket op asserts
--------------------------------------------------------------------------------
Version 70:

View File

@ -192,8 +192,8 @@ operator()(error_code ec, bool again)
}
}
upcall:
if(d.ws.wr_block_ == &d)
d.ws.wr_block_ = nullptr;
BOOST_ASSERT(d.ws.wr_block_ == &d);
d.ws.wr_block_ = nullptr;
d.ws.rd_op_.maybe_invoke() ||
d.ws.wr_op_.maybe_invoke();
d_.invoke(ec);