Mercurial > hg > nginx-tests
comparison h2_request_body_preread.t @ 962:e214983c605b
Tests: adjusted limit_req rate value in HTTP/2 body preread tests.
Affected testing requests could not run into delayed processing on slow hosts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 27 Jun 2016 12:26:48 +0300 |
parents | b9692ec5a08b |
children | 882267679006 |
comparison
equal
deleted
inserted
replaced
961:4993ece8620e | 962:e214983c605b |
---|---|
35 } | 35 } |
36 | 36 |
37 http { | 37 http { |
38 %%TEST_GLOBALS_HTTP%% | 38 %%TEST_GLOBALS_HTTP%% |
39 | 39 |
40 limit_req_zone $binary_remote_addr zone=req:1m rate=1r/s; | 40 limit_req_zone $binary_remote_addr zone=req:1m rate=30r/m; |
41 | 41 |
42 server { | 42 server { |
43 listen 127.0.0.1:%%PORT_0%% http2; | 43 listen 127.0.0.1:%%PORT_0%% http2; |
44 listen 127.0.0.1:%%PORT_1%%; | 44 listen 127.0.0.1:%%PORT_1%%; |
45 server_name localhost; | 45 server_name localhost; |