From 7492f628aa733121ff69d433f1377eafd7f769c1 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 21 Jan 2015 23:11:47 +0900 Subject: [PATCH] nghttpx: Use ConnectBlocker on h1 backend connect attempt failure --- src/shrpx_http_downstream_connection.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_http_downstream_connection.cc b/src/shrpx_http_downstream_connection.cc index 1c3f5a2e..d340ac93 100644 --- a/src/shrpx_http_downstream_connection.cc +++ b/src/shrpx_http_downstream_connection.cc @@ -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; }