Mercurial > hg > nginx-tests
comparison proxy_cache_error.t @ 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 | a32ef40ab48a |
comparison
equal
deleted
inserted
replaced
1266:b17f27fa9081 | 1267:f94e79aad895 |
---|---|
53 server { | 53 server { |
54 listen 127.0.0.1:8081; | 54 listen 127.0.0.1:8081; |
55 server_name localhost; | 55 server_name localhost; |
56 | 56 |
57 location / { | 57 location / { |
58 postpone_output 0; | |
58 limit_rate 512; | 59 limit_rate 512; |
59 expires 1m; | 60 expires 1m; |
60 } | 61 } |
61 } | 62 } |
62 } | 63 } |