forked from boostorg/beast
error_codes use source_location.
This commit is contained in:
committed by
Klemens Morgenstern
parent
9473c10dde
commit
f4d1936bb2
@@ -326,7 +326,7 @@ public:
|
||||
if(state().timer.expiry() <= clock_type::now())
|
||||
{
|
||||
impl_->close();
|
||||
ec = beast::error::timeout;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, beast::error::timeout);
|
||||
}
|
||||
goto upcall;
|
||||
}
|
||||
@@ -371,7 +371,7 @@ public:
|
||||
if(state().timeout)
|
||||
{
|
||||
// yes, socket already closed
|
||||
ec = beast::error::timeout;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, beast::error::timeout);
|
||||
state().timeout = false;
|
||||
}
|
||||
goto upcall;
|
||||
@@ -407,7 +407,7 @@ public:
|
||||
if(state().timeout)
|
||||
{
|
||||
// yes, socket already closed
|
||||
ec = beast::error::timeout;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, beast::error::timeout);
|
||||
state().timeout = false;
|
||||
}
|
||||
}
|
||||
@@ -566,7 +566,7 @@ public:
|
||||
if(state().timeout)
|
||||
{
|
||||
// yes, socket already closed
|
||||
ec = beast::error::timeout;
|
||||
BOOST_BEAST_ASSIGN_EC(ec, beast::error::timeout);
|
||||
state().timeout = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user