Commit e6dfd4ff authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Call downstream_failure rather than on_failure in HTTP/1 backend

parent e99f3c58
...@@ -220,7 +220,8 @@ int HttpDownstreamConnection::attach_downstream(Downstream *downstream) { ...@@ -220,7 +220,8 @@ int HttpDownstreamConnection::attach_downstream(Downstream *downstream) {
<< util::to_numeric_addr(&addr.addr) << util::to_numeric_addr(&addr.addr)
<< ", errno=" << error; << ", errno=" << error;
connect_blocker->on_failure(); downstream_failure(&addr);
close(conn_.fd); close(conn_.fd);
conn_.fd = -1; conn_.fd = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment