nghttpx: Don't pool failed HTTP/1 backend connection

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-15 19:46:48 +09:00
parent f54745fe4c
commit 6d10799301
1 changed files with 2 additions and 0 deletions

View File

@ -864,6 +864,8 @@ int HttpDownstreamConnection::on_connect() {
DLOG(INFO, this) << "downstream connect failed"; DLOG(INFO, this) << "downstream connect failed";
} }
downstream_->set_request_state(Downstream::CONNECT_FAIL);
return -1; return -1;
} }