Commit ac1cc56f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Stop wev_ on h1 backend connect failure

parent f604cbae
...@@ -750,6 +750,8 @@ end: ...@@ -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";
} }
......
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