0
0
Fork 0
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:
Jason Volk 2019-04-15 16:20:20 -07:00
parent 01fcef7eed
commit 889b65a002
2 changed files with 4 additions and 0 deletions

View file

@ -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;
}

View file

@ -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