summaryrefslogtreecommitdiff
path: root/tests/plugins/http/configs/.rr-no-http.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-18 23:20:39 +0300
committerGitHub <[email protected]>2021-01-18 23:20:39 +0300
commit8704e833dffd7d41614830b5347ba15fa9f297fd (patch)
tree3672285982b1f43212ffdb5d9958b6cc66774087 /tests/plugins/http/configs/.rr-no-http.yaml
parenta9a206b31e272e0508fff496e9641c4db291ddb7 (diff)
parent6d2c56b7fb8d33a4a8dcb2dad5d60e422c55d4df (diff)
Merge pull request #485 from spiral/bug/nil_http_config
bug(http): NPE when config didn't contain HTTP section
Diffstat (limited to 'tests/plugins/http/configs/.rr-no-http.yaml')
-rw-r--r--tests/plugins/http/configs/.rr-no-http.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/plugins/http/configs/.rr-no-http.yaml b/tests/plugins/http/configs/.rr-no-http.yaml
new file mode 100644
index 00000000..6466c950
--- /dev/null
+++ b/tests/plugins/http/configs/.rr-no-http.yaml
@@ -0,0 +1,17 @@
+rpc:
+ listen: tcp://127.0.0.1:6001
+ disabled: false
+
+server:
+ command: "php ../../http/client.php echo pipes"
+ user: ""
+ group: ""
+ env:
+ "RR_HTTP": "true"
+ relay: "pipes"
+ relay_timeout: "20s"
+
+logs:
+ mode: development
+ level: error
+