0
0
Fork 0
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:
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) if(type == ready::READ && !ec && bytes == 0)
ec = error_code{asio::error::eof, asio::error::get_misc_category()}; ec = error_code{asio::error::eof, asio::error::get_misc_category()};
#ifdef IRCD_DEBUG_NET_SOCKET_READY
thread_local char ecbuf[64]; thread_local char ecbuf[64];
log::debug log::debug
{ {
@ -2965,6 +2966,7 @@ noexcept try
type == ready::READ? available(*this) : 0UL, type == ready::READ? available(*this) : 0UL,
SSL_pending(ssl.native_handle()) SSL_pending(ssl.native_handle())
}; };
#endif
call_user(callback, ec); call_user(callback, ec);
} }