Skip to content

Commit 9a31bb8

Browse files
committed
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).
1 parent 104852f commit 9a31bb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proxy_cache_error.t

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ http {
5555
server_name localhost;
5656
5757
location / {
58+
postpone_output 0;
5859
limit_rate 512;
5960
expires 1m;
6061
}

0 commit comments

Comments
 (0)