# HG changeset patch # User Maxim Dounin # Date 1515689900 -10800 # Node ID a32ef40ab48ab9b1416e2846700f264e7e3a70d9 # Parent 1923461981c9f47e10976a0faa40d132efd16eda Tests: corrected proxy_cache_error.t comment. diff --git a/proxy_cache_error.t b/proxy_cache_error.t --- a/proxy_cache_error.t +++ b/proxy_cache_error.t @@ -78,8 +78,8 @@ like(http_head('/big.html'), qr/200 OK/, # once proxy_read_timeout expires, nginx will call # ngx_http_finalize_upstream_request() with u->pipe->downstream_error set -# and rc = NGX_HTTP_GATEWAY_TIMEOUT; after revision ad3f342f14ba046c this -# will result in ngx_http_finalize_request(NGX_HTTP_GATEWAY_TIMEOUT), +# and rc = NGX_HTTP_GATEWAY_BAD_GATEWAY; after revision ad3f342f14ba046c this +# will result in ngx_http_finalize_request(NGX_HTTP_GATEWAY_BAD_GATEWAY), # leading to an attempt to return additional error response and # the "header already sent" alert