Mercurial > hg > nginx-tests
comparison proxy_cache_error.t @ 1772:4f238efded81
Tests: corrected proxy_cache_error.t comment.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 03 Jun 2022 18:24:51 +0400 |
parents | 51656beb9996 |
children |
comparison
equal
deleted
inserted
replaced
1771:83ec64929612 | 1772:4f238efded81 |
---|---|
76 | 76 |
77 like(http_head('/big.html'), qr/200 OK/, 'head request'); | 77 like(http_head('/big.html'), qr/200 OK/, 'head request'); |
78 | 78 |
79 # once proxy_read_timeout expires, nginx will call | 79 # once proxy_read_timeout expires, nginx will call |
80 # ngx_http_finalize_upstream_request() with u->pipe->downstream_error set | 80 # ngx_http_finalize_upstream_request() with u->pipe->downstream_error set |
81 # and rc = NGX_HTTP_GATEWAY_BAD_GATEWAY; after revision ad3f342f14ba046c this | 81 # and rc = NGX_HTTP_BAD_GATEWAY; after revision ad3f342f14ba046c this |
82 # will result in ngx_http_finalize_request(NGX_HTTP_GATEWAY_BAD_GATEWAY), | 82 # will result in ngx_http_finalize_request(NGX_HTTP_BAD_GATEWAY), |
83 # leading to an attempt to return additional error response and | 83 # leading to an attempt to return additional error response and |
84 # the "header already sent" alert; fixed in 93abb5a855d6 | 84 # the "header already sent" alert; fixed in 93abb5a855d6 |
85 | 85 |
86 ############################################################################### | 86 ############################################################################### |