# HG changeset patch # User Maxim Dounin # Date 1515270753 -10800 # Node ID f94e79aad895e703ca4f773147fa42d4214f3cbd # Parent b17f27fa908144979016310de36ddfbfcfbd9533 Tests: fixed proxy_cache_error.t with "tcp_nopush on". Added "postpone_output 0;" to ensure that the backend will return a response header immediately even if "tcp_nopush on;" is used in the configuration (e.g., via TEST_NGINX_GLOBALS_HTTP). diff --git a/proxy_cache_error.t b/proxy_cache_error.t --- a/proxy_cache_error.t +++ b/proxy_cache_error.t @@ -55,6 +55,7 @@ http { server_name localhost; location / { + postpone_output 0; limit_rate 512; expires 1m; }