Mercurial > hg > nginx-tests
comparison proxy_limit_rate.t @ 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 | 882267679006 |
children | b113eeca94ad |
comparison
equal
deleted
inserted
replaced
980:d10ec0f0bb6d | 981:516070bada7d |
---|---|
40 listen 127.0.0.1:8080; | 40 listen 127.0.0.1:8080; |
41 server_name localhost; | 41 server_name localhost; |
42 | 42 |
43 location / { | 43 location / { |
44 proxy_pass http://127.0.0.1:8080/data; | 44 proxy_pass http://127.0.0.1:8080/data; |
45 proxy_buffer_size 4k; | |
45 proxy_limit_rate 12000; | 46 proxy_limit_rate 12000; |
46 add_header X-Msec $msec; | 47 add_header X-Msec $msec; |
47 } | 48 } |
48 | 49 |
49 location /data { | 50 location /data { |