diff options
author | Valery Piashchynski <[email protected]> | 2021-03-16 16:48:45 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-03-16 16:48:45 +0300 |
commit | eec190334e03012e9dfc3ba83c106d8b3974b238 (patch) | |
tree | 78e82e9b4e179960d89791ca0324c704a87a57c8 /tests/plugins/http/configs | |
parent | 948f28ee13a1012a7e9036f3a7c1c209ffbc4c9d (diff) |
🐛 fix issue with strange messages in the http body when max request
size reached.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http/configs')
-rw-r--r-- | tests/plugins/http/configs/.rr-big-req-size.yaml | 21 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-broken-pipes.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-env.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-fcgi-reqUri.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-fcgi.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-h2c.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-http-supervised-pool.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-http.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-init.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-resetter.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-ssl-push.yaml | 1 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-ssl-redirect.yaml | 1 |
12 files changed, 21 insertions, 11 deletions
diff --git a/tests/plugins/http/configs/.rr-big-req-size.yaml b/tests/plugins/http/configs/.rr-big-req-size.yaml new file mode 100644 index 00000000..574b3393 --- /dev/null +++ b/tests/plugins/http/configs/.rr-big-req-size.yaml @@ -0,0 +1,21 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../http/client.php echo pipes" + +http: + address: 127.0.0.1:10085 + max_request_size: 1 + middleware: [ "" ] + uploads: + forbid: [ ".php", ".exe", ".bat" ] + trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ] + pool: + num_workers: 2 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s +logs: + mode: development + level: error
\ No newline at end of file diff --git a/tests/plugins/http/configs/.rr-broken-pipes.yaml b/tests/plugins/http/configs/.rr-broken-pipes.yaml index 9b7d2d0b..703f9431 100644 --- a/tests/plugins/http/configs/.rr-broken-pipes.yaml +++ b/tests/plugins/http/configs/.rr-broken-pipes.yaml @@ -11,7 +11,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:12384 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-env.yaml b/tests/plugins/http/configs/.rr-env.yaml index e6b00b69..99358b04 100644 --- a/tests/plugins/http/configs/.rr-env.yaml +++ b/tests/plugins/http/configs/.rr-env.yaml @@ -11,7 +11,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:12084 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml b/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml index ab42f4fc..28c70c6f 100644 --- a/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml +++ b/tests/plugins/http/configs/.rr-fcgi-reqUri.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: :8082 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-fcgi.yaml b/tests/plugins/http/configs/.rr-fcgi.yaml index bd5d01bd..c749e42b 100644 --- a/tests/plugins/http/configs/.rr-fcgi.yaml +++ b/tests/plugins/http/configs/.rr-fcgi.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: :8081 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-h2c.yaml b/tests/plugins/http/configs/.rr-h2c.yaml index bd610bb0..796ad307 100644 --- a/tests/plugins/http/configs/.rr-h2c.yaml +++ b/tests/plugins/http/configs/.rr-h2c.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: :8083 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-http-supervised-pool.yaml b/tests/plugins/http/configs/.rr-http-supervised-pool.yaml index e92ce051..e0c38c12 100644 --- a/tests/plugins/http/configs/.rr-http-supervised-pool.yaml +++ b/tests/plugins/http/configs/.rr-http-supervised-pool.yaml @@ -10,7 +10,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:18888 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-http.yaml b/tests/plugins/http/configs/.rr-http.yaml index 184a353c..c95bc049 100644 --- a/tests/plugins/http/configs/.rr-http.yaml +++ b/tests/plugins/http/configs/.rr-http.yaml @@ -11,7 +11,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:18903 max_request_size: 1024 middleware: [ "pluginMiddleware", "pluginMiddleware2" ] diff --git a/tests/plugins/http/configs/.rr-init.yaml b/tests/plugins/http/configs/.rr-init.yaml index 77132b43..1671c3c0 100644 --- a/tests/plugins/http/configs/.rr-init.yaml +++ b/tests/plugins/http/configs/.rr-init.yaml @@ -11,7 +11,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:15395 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-resetter.yaml b/tests/plugins/http/configs/.rr-resetter.yaml index a1ef27d1..61b0e501 100644 --- a/tests/plugins/http/configs/.rr-resetter.yaml +++ b/tests/plugins/http/configs/.rr-resetter.yaml @@ -11,7 +11,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:10084 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-ssl-push.yaml b/tests/plugins/http/configs/.rr-ssl-push.yaml index 11a8ddd3..3349575e 100644 --- a/tests/plugins/http/configs/.rr-ssl-push.yaml +++ b/tests/plugins/http/configs/.rr-ssl-push.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: :8086 max_request_size: 1024 middleware: [ "" ] diff --git a/tests/plugins/http/configs/.rr-ssl-redirect.yaml b/tests/plugins/http/configs/.rr-ssl-redirect.yaml index e49a73ed..1d04963e 100644 --- a/tests/plugins/http/configs/.rr-ssl-redirect.yaml +++ b/tests/plugins/http/configs/.rr-ssl-redirect.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: :8087 max_request_size: 1024 middleware: [ "" ] |