mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::net: Fix acceptor's inheritance of net::listener::error.
This commit is contained in:
parent
71560eafd1
commit
641a5546ae
2 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,8 @@ struct ircd::net::acceptor
|
|||
using callback = listener::callback;
|
||||
using proffer = listener::proffer;
|
||||
|
||||
IRCD_EXCEPTION(listener::error, error)
|
||||
|
||||
static log::log log;
|
||||
static conf::item<milliseconds> timeout;
|
||||
static conf::item<std::string> ssl_cipher_list;
|
||||
|
|
|
@ -22,6 +22,8 @@ struct ircd::net::acceptor_udp
|
|||
using datagram = listener_udp::datagram;
|
||||
using flag = listener_udp::flag;
|
||||
|
||||
IRCD_EXCEPTION(listener_udp::error, error)
|
||||
|
||||
static constexpr log::log &log {acceptor::log};
|
||||
static ip::udp::socket::message_flags flags(const flag &);
|
||||
|
||||
|
|
Loading…
Reference in a new issue