forked from boostorg/beast
Clear the error faster
This commit is contained in:
1 parent
fc09a4cad1
commit
4d393f4c2a
28 files changed
+117
-116
No files matched your search
@@ -224,7 +224,7 @@ public:
|
||||
con.shutdown(ec);
|
||||
// VFALCO No idea why we get eof in the normal case
|
||||
if(ec == boost::asio::error::eof)
|
||||
ec = {};
|
||||
ec.assign(0, ec.category());
|
||||
if(! BEAST_EXPECTS(! ec, ec.message()))
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user