[nginx] Upstream: jump out of loop after matching the status code.
Maxim Dounin
mdounin at mdounin.ru
Wed May 13 21:02:08 UTC 2020
details: https://hg.nginx.org/nginx/rev/3c8082c3f98a
branches:
changeset: 7649:3c8082c3f98a
user: Jinhua Tan <312841925 at qq.com>
date: Wed May 13 22:02:47 2020 +0800
description:
Upstream: jump out of loop after matching the status code.
diffstat:
src/http/ngx_http_upstream.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 028b16e2798f -r 3c8082c3f98a src/http/ngx_http_upstream.c
--- a/src/http/ngx_http_upstream.c Fri May 08 19:19:16 2020 +0300
+++ b/src/http/ngx_http_upstream.c Wed May 13 22:02:47 2020 +0800
@@ -2502,6 +2502,8 @@ ngx_http_upstream_test_next(ngx_http_req
}
#endif
+
+ break;
}
#if (NGX_HTTP_CACHE)
More information about the nginx-devel
mailing list