changeset 1267:f94e79aad895

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).
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 06 Jan 2018 23:32:33 +0300
parents b17f27fa9081
children 1923461981c9
files proxy_cache_error.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }