nghttpx: Use ConnectBlocker on h1 backend connect attempt failure
This commit is contained in:
parent
2f788aa214
commit
7492f628aa
|
@ -753,6 +753,8 @@ int HttpDownstreamConnection::on_connect() {
|
||||||
if (LOG_ENABLED(INFO)) {
|
if (LOG_ENABLED(INFO)) {
|
||||||
DLOG(INFO, this) << "downstream connect failed";
|
DLOG(INFO, this) << "downstream connect failed";
|
||||||
}
|
}
|
||||||
|
auto connect_blocker = client_handler_->get_http1_connect_blocker();
|
||||||
|
connect_blocker->on_failure();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue