mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::net: Additional traps / assertions.
This commit is contained in:
parent
01fcef7eed
commit
889b65a002
2 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,7 @@ noexcept
|
|||
associate(*request, *this, std::move(o));
|
||||
|
||||
assert(!o.request);
|
||||
assert(!o.cancellation);
|
||||
}
|
||||
|
||||
inline ircd::server::tag &
|
||||
|
@ -133,6 +134,7 @@ noexcept
|
|||
associate(*request, *this, std::move(o));
|
||||
|
||||
assert(!o.request);
|
||||
assert(!o.cancellation);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
@ -1728,6 +1728,7 @@ ircd::net::acceptor::check_accept_error(const error_code &ec,
|
|||
}
|
||||
|
||||
throw_system_error(ec);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -1841,6 +1842,7 @@ ircd::net::acceptor::check_handshake_error(const error_code &ec,
|
|||
}
|
||||
|
||||
throw_system_error(ec);
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue