Better handling of stream timeouts

This commit is contained in:
Vinnie Falco
2019-02-04 07:26:02 -08:00
parent 8814ac4b35
commit 28858c60fd
4 changed files with 79 additions and 56 deletions
+1 -2
View File
@@ -915,8 +915,7 @@ public:
[&](error_code ec)
{
invoked = true;
BEAST_EXPECTS(ec == error::timeout,
ec.message());
BEAST_EXPECTS(! ec, ec.message());
});
ioc1.run();
ioc1.restart();