nghttpx: Stop wev_ on h1 backend connect failure

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-22 21:13:34 +09:00
parent f604cbae70
commit ac1cc56fbb
1 changed files with 2 additions and 0 deletions

View File

@ -750,6 +750,8 @@ end:
int HttpDownstreamConnection::on_connect() {
if (!util::check_socket_connected(fd_)) {
ev_io_stop(loop_, &wev_);
if (LOG_ENABLED(INFO)) {
DLOG(INFO, this) << "downstream connect failed";
}