Mercurial > hg > ngx_http_catch_body_filter_module
comparison t/buffering.t @ 5:ae29daca3f0e default tip
Explicit use of "proxy_request_buffering on" in tests.
This allows to avoid spurious tests failures in test runs with request
buffering switched off by default.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 06 Mar 2015 17:44:38 +0300 |
parents | 01a36878bf36 |
children |
comparison
equal
deleted
inserted
replaced
4:01a36878bf36 | 5:ae29daca3f0e |
---|---|
48 catch_body on; | 48 catch_body on; |
49 } | 49 } |
50 | 50 |
51 location /proxy { | 51 location /proxy { |
52 proxy_pass http://127.0.0.1:8080/empty; | 52 proxy_pass http://127.0.0.1:8080/empty; |
53 proxy_request_buffering on; | |
53 } | 54 } |
54 | 55 |
55 location /empty { | 56 location /empty { |
56 return 200 "test response body\n"; | 57 return 200 "test response body\n"; |
57 } | 58 } |