Fixes to test::stream::async_read:

- Call the completion handler with the correct signature
- Replicate ASIO socket behavior of async operation completions
- Fix a data race between read_op and a call to stream::nread()

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
Damian Jarek authored and Vinnie Falco committed 2019-02-05 16:14:45 -08:00
1 parent adcd4bc0c9
commit 34362256c0
3 files changed
+34 -37

No files matched your search

+6 -3
View File
@@ -210,13 +210,16 @@ New websocket-chat-multi example
* `ostream`
does not overflow or exceed the dynamic buffer's maximum size
* A handler work guard is maintained on paused websocket operations
* All behavior of default-constructed iterators is conforming
* Fixes to
`test::stream::async_read`
* `file_mode::append_existing`
works correctly
* A handler work guard is maintained on paused websocket operations
* All behavior of default-constructed iterators is conforming
[/-----------------------------------------------------------------------------]
[heading Boost 1.69]