diff --git a/src/shrpx_http_downstream_connection.cc b/src/shrpx_http_downstream_connection.cc index 11aa90e4..df34fffc 100644 --- a/src/shrpx_http_downstream_connection.cc +++ b/src/shrpx_http_downstream_connection.cc @@ -776,7 +776,7 @@ int HttpDownstreamConnection::on_connect() { if (LOG_ENABLED(INFO)) { DLOG(INFO, this) << "downstream connect failed"; } - connect_blocker->on_failure(); + return -1; }