changeset 981:516070bada7d

Tests: unbreak proxy_limit_rate.t on hosts with larger page sizes. This is used to avoid receiving the entire upstream response at once.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 14 Jul 2016 14:49:23 +0300
parents d10ec0f0bb6d
children 325db3d62466
files proxy_limit_rate.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_limit_rate.t
+++ b/proxy_limit_rate.t
@@ -42,6 +42,7 @@ http {
 
         location / {
             proxy_pass http://127.0.0.1:8080/data;
+            proxy_buffer_size 4k;
             proxy_limit_rate 12000;
             add_header X-Msec $msec;
         }