Upstream: jump out of loop after matching the status code.
This commit is contained in:
parent
ff83e85899
commit
1275c315f1
1 changed files with 2 additions and 0 deletions
|
@ -2502,6 +2502,8 @@ ngx_http_upstream_test_next(ngx_http_request_t *r, ngx_http_upstream_t *u)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
#if (NGX_HTTP_CACHE)
|
||||
|
|
Loading…
Reference in a new issue