Skip to content

Commit

Permalink
check never again when connect failure occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
lvguanglin 00177705 committed Aug 1, 2017
1 parent 2bbab54 commit 30c73ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx_http_upstream_check_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ ngx_http_upstream_check_connect_handler(ngx_event_t *event)

if (rc == NGX_ERROR || rc == NGX_DECLINED) {
ngx_http_upstream_check_status_update(peer, 0);
ngx_http_upstream_check_clean_event(peer);
return;
}

Expand Down

1 comment on commit 30c73ec

@solio
Copy link

@solio solio commented on 30c73ec Sep 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the meanings of "failure occurs", if the check target is restarting?

Please sign in to comment.