nghttpx: Call downstream_failure rather than on_failure in HTTP/1 backend
This commit is contained in:
parent
e99f3c58f7
commit
e6dfd4ff27
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue