mirror of
https://github.com/nginx/nginx.git
synced 2024-11-27 23:49:00 +08:00
small fix
This commit is contained in:
parent
f57b24e70f
commit
6a2ea3f544
@ -3205,7 +3205,7 @@ ngx_http_upstream_server(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
|
||||
fail_timeout = ngx_parse_time(&s, 1);
|
||||
|
||||
if (fail_timeout < 0) {
|
||||
if (fail_timeout == NGX_ERROR) {
|
||||
goto invalid;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user