Upstream: jump out of loop after matching the status code.

This commit is contained in:
Jinhua Tan 2020-05-13 22:02:47 +08:00
parent ff83e85899
commit 1275c315f1

View file

@ -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)