Mercurial > hg > nginx-tests
comparison h2.t @ 842:60b3e0cfba77
Tests: adjusted h2.t configuration for per-request timeouts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 04 Feb 2016 17:36:11 +0300 |
parents | 6a401b5fa812 |
children | 5e7845d36e54 |
comparison
equal
deleted
inserted
replaced
841:6a401b5fa812 | 842:60b3e0cfba77 |
---|---|
224 server { | 224 server { |
225 listen 127.0.0.1:8089 http2; | 225 listen 127.0.0.1:8089 http2; |
226 server_name localhost; | 226 server_name localhost; |
227 | 227 |
228 http2_recv_timeout 1s; | 228 http2_recv_timeout 1s; |
229 client_header_timeout 1s; | |
230 send_timeout 1s; | |
229 } | 231 } |
230 | 232 |
231 server { | 233 server { |
232 listen 127.0.0.1:8090 http2; | 234 listen 127.0.0.1:8090 http2; |
233 server_name localhost; | 235 server_name localhost; |
234 | 236 |
235 http2_idle_timeout 1s; | 237 http2_idle_timeout 1s; |
238 client_body_timeout 1s; | |
236 | 239 |
237 location /proxy2/ { | 240 location /proxy2/ { |
238 add_header X-Body "$request_body"; | 241 add_header X-Body "$request_body"; |
239 proxy_pass http://127.0.0.1:8081/; | 242 proxy_pass http://127.0.0.1:8081/; |
240 } | 243 } |