summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-11-02 16:59:02 -0500
committerGitHub <noreply@github.com>2020-11-02 14:59:02 -0700
commit860cc6adfe6a5022baf5fd387e0d10c5e3a174fe (patch)
tree76dc64fadf31b04769b0a7c9ab10e41763dca91d /caddytest
parent8d038ca515ffaa4d37dca05a95181203b2db64e7 (diff)
reverseproxy: Wire up some http transport options in Caddyfile (#3843)
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt b/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt
index 423bd8f..f9b0010 100644
--- a/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt
+++ b/caddytest/integration/caddyfile_adapt/reverse_proxy_options.txt
@@ -10,6 +10,14 @@ https://example.com {
buffer_requests
transport http {
+ read_buffer 10MB
+ write_buffer 20MB
+ max_response_header 30MB
+ dial_timeout 3s
+ dial_fallback_delay 5s
+ response_header_timeout 8s
+ expect_continue_timeout 9s
+
versions h2c 2
compression off
max_conns_per_host 5
@@ -68,13 +76,20 @@ https://example.com {
},
"transport": {
"compression": false,
+ "dial_fallback_delay": 5000000000,
+ "dial_timeout": 3000000000,
+ "expect_continue_timeout": 9000000000,
"max_conns_per_host": 5,
"max_idle_conns_per_host": 2,
+ "max_response_header_size": 30000000,
"protocol": "http",
+ "read_buffer_size": 10000000,
+ "response_header_timeout": 8000000000,
"versions": [
"h2c",
"2"
- ]
+ ],
+ "write_buffer_size": 20000000
},
"upstreams": [
{