mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd::net: Disable socket ready debuglog msg by define.
This commit is contained in:
parent
eaec5cb65e
commit
6500b8c3fc
1 changed files with 2 additions and 0 deletions
|
@ -2954,6 +2954,7 @@ noexcept try
|
|||
if(type == ready::READ && !ec && bytes == 0)
|
||||
ec = error_code{asio::error::eof, asio::error::get_misc_category()};
|
||||
|
||||
#ifdef IRCD_DEBUG_NET_SOCKET_READY
|
||||
thread_local char ecbuf[64];
|
||||
log::debug
|
||||
{
|
||||
|
@ -2965,6 +2966,7 @@ noexcept try
|
|||
type == ready::READ? available(*this) : 0UL,
|
||||
SSL_pending(ssl.native_handle())
|
||||
};
|
||||
#endif
|
||||
|
||||
call_user(callback, ec);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue