mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::server: Clear op_fini flag on err_clear().
This commit is contained in:
parent
c3062e80f1
commit
516d1797c9
1 changed files with 2 additions and 1 deletions
|
@ -392,6 +392,7 @@ ircd::server::peer::err_clear()
|
|||
{
|
||||
const auto ret{bool(e)};
|
||||
e.reset(nullptr);
|
||||
op_fini = false;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -429,7 +430,7 @@ ircd::server::peer::err_check()
|
|||
if(op_fini)
|
||||
return false;
|
||||
|
||||
if(!e)
|
||||
if(!err_has())
|
||||
return true;
|
||||
|
||||
//TODO: The specific error type should be switched and finer
|
||||
|
|
Loading…
Reference in a new issue