Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
May 13, 2020 05:04PM
details: https://hg.nginx.org/nginx/rev/3c8082c3f98a
branches:
changeset: 7649:3c8082c3f98a
user: Jinhua Tan <312841925@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)
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Maxim Dounin 250 May 13, 2020 05:04PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready