Mercurial > hg > nginx-tests
comparison proxy_cache_error.t @ 1269:a32ef40ab48a
Tests: corrected proxy_cache_error.t comment.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 11 Jan 2018 19:58:20 +0300 |
parents | f94e79aad895 |
children | 6f0e68970b94 |
comparison
equal
deleted
inserted
replaced
1268:1923461981c9 | 1269:a32ef40ab48a |
---|---|
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_TIMEOUT; after revision ad3f342f14ba046c this | 81 # and rc = NGX_HTTP_GATEWAY_BAD_GATEWAY; after revision ad3f342f14ba046c this |
82 # will result in ngx_http_finalize_request(NGX_HTTP_GATEWAY_TIMEOUT), | 82 # will result in ngx_http_finalize_request(NGX_HTTP_GATEWAY_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 | 84 # the "header already sent" alert |
85 | 85 |
86 $t->todo_alerts(); | 86 $t->todo_alerts(); |
87 | 87 |