nghttpx: Add logging when downstream connect is blocked by connect_blocker
This commit is contained in:
parent
d174ffeb00
commit
a0028ea8ef
|
@ -148,6 +148,10 @@ int HttpDownstreamConnection::attach_downstream(Downstream *downstream) {
|
||||||
auto connect_blocker = client_handler_->get_http1_connect_blocker();
|
auto connect_blocker = client_handler_->get_http1_connect_blocker();
|
||||||
|
|
||||||
if (connect_blocker->blocked()) {
|
if (connect_blocker->blocked()) {
|
||||||
|
if (LOG_ENABLED(INFO)) {
|
||||||
|
DCLOG(INFO, this)
|
||||||
|
<< "Downstream connection was blocked by connect_blocker";
|
||||||
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue