nghttpx: Use ConnectBlocker on h1 backend connect attempt failure

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-21 23:11:47 +09:00
parent 2f788aa214
commit 7492f628aa
1 changed files with 2 additions and 0 deletions

View File

@ -753,6 +753,8 @@ int HttpDownstreamConnection::on_connect() {
if (LOG_ENABLED(INFO)) {
DLOG(INFO, this) << "downstream connect failed";
}
auto connect_blocker = client_handler_->get_http1_connect_blocker();
connect_blocker->on_failure();
return -1;
}