comparison src/http/ngx_http_upstream.c @ 7649:3c8082c3f98a

Upstream: jump out of loop after matching the status code.
author Jinhua Tan <312841925@qq.com>
date Wed, 13 May 2020 22:02:47 +0800
parents 08ed570ad93c
children bffcc5af1d72
comparison
equal deleted inserted replaced
7648:028b16e2798f 7649:3c8082c3f98a
2500 ngx_http_upstream_finalize_request(r, u, rc); 2500 ngx_http_upstream_finalize_request(r, u, rc);
2501 return NGX_OK; 2501 return NGX_OK;
2502 } 2502 }
2503 2503
2504 #endif 2504 #endif
2505
2506 break;
2505 } 2507 }
2506 2508
2507 #if (NGX_HTTP_CACHE) 2509 #if (NGX_HTTP_CACHE)
2508 2510
2509 if (status == NGX_HTTP_NOT_MODIFIED 2511 if (status == NGX_HTTP_NOT_MODIFIED