nghttpx: Guard with LOG_ENABLED(INFO)
This commit is contained in:
parent
4807e71b7d
commit
30f9f9ef87
|
@ -90,7 +90,10 @@ void connchk_timeout_cb(struct ev_loop *loop, ev_timer *w, int revents) {
|
|||
namespace {
|
||||
void settings_timeout_cb(struct ev_loop *loop, ev_timer *w, int revents) {
|
||||
auto http2session = static_cast<Http2Session *>(w->data);
|
||||
SSLOG(INFO, http2session) << "SETTINGS timeout";
|
||||
|
||||
if (LOG_ENABLED(INFO)) {
|
||||
SSLOG(INFO, http2session) << "SETTINGS timeout";
|
||||
}
|
||||
|
||||
downstream_failure(http2session->get_addr());
|
||||
|
||||
|
|
Loading…
Reference in New Issue