From 6500b8c3fce84e4fc9f0f8254c8a17df2217ba3a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 24 Apr 2019 16:26:59 -0700 Subject: [PATCH] ircd::net: Disable socket ready debuglog msg by define. --- ircd/net.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircd/net.cc b/ircd/net.cc index 06dc044d0..e1e3f784b 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -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); }