nghttpx: Stop wev_ on h1 backend connect failure
This commit is contained in:
parent
f604cbae70
commit
ac1cc56fbb
|
@ -750,6 +750,8 @@ end:
|
||||||
|
|
||||||
int HttpDownstreamConnection::on_connect() {
|
int HttpDownstreamConnection::on_connect() {
|
||||||
if (!util::check_socket_connected(fd_)) {
|
if (!util::check_socket_connected(fd_)) {
|
||||||
|
ev_io_stop(loop_, &wev_);
|
||||||
|
|
||||||
if (LOG_ENABLED(INFO)) {
|
if (LOG_ENABLED(INFO)) {
|
||||||
DLOG(INFO, this) << "downstream connect failed";
|
DLOG(INFO, this) << "downstream connect failed";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue