comparison h2_request_body.t @ 952:e9064d691790

Tests: converted tests to run in parallel.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 21 Jun 2016 16:39:13 +0300
parents 4dc302d8e04f
children b8948aecba12
comparison
equal deleted inserted replaced
951:9361c7eddfc1 952:e9064d691790
38 38
39 http { 39 http {
40 %%TEST_GLOBALS_HTTP%% 40 %%TEST_GLOBALS_HTTP%%
41 41
42 server { 42 server {
43 listen 127.0.0.1:8080 http2; 43 listen 127.0.0.1:%%PORT_0%% http2;
44 listen 127.0.0.1:8081; 44 listen 127.0.0.1:%%PORT_1%%;
45 server_name localhost; 45 server_name localhost;
46 46
47 location / { } 47 location / { }
48 location /proxy2/ { 48 location /proxy2/ {
49 add_header X-Body $request_body; 49 add_header X-Body $request_body;
50 add_header X-Body-File $request_body_file; 50 add_header X-Body-File $request_body_file;
51 client_body_in_file_only on; 51 client_body_in_file_only on;
52 proxy_pass http://127.0.0.1:8081/; 52 proxy_pass http://127.0.0.1:%%PORT_1%%/;
53 } 53 }
54 location /client_max_body_size { 54 location /client_max_body_size {
55 add_header X-Body $request_body; 55 add_header X-Body $request_body;
56 add_header X-Body-File $request_body_file; 56 add_header X-Body-File $request_body_file;
57 client_body_in_single_buffer on; 57 client_body_in_single_buffer on;
58 client_body_in_file_only on; 58 client_body_in_file_only on;
59 proxy_pass http://127.0.0.1:8081/; 59 proxy_pass http://127.0.0.1:%%PORT_1%%/;
60 client_max_body_size 10; 60 client_max_body_size 10;
61 } 61 }
62 } 62 }
63 } 63 }
64 64