0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

ircd::net: Disable socket ready debuglog msg by define.

This commit is contained in:
Jason Volk 2019-04-24 16:26:59 -07:00
parent eaec5cb65e
commit 6500b8c3fc

View file

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