summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2022-10-13 11:30:57 -0600
committerGitHub <noreply@github.com>2022-10-13 11:30:57 -0600
commit6bad878a22e048762262d6fabe2144cefaf4ca81 (patch)
treed949d7efe31fb1e2ce6127fc35359382c88852aa /caddytest
parent3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c (diff)
httpcaddyfile: Improve detection of indistinguishable TLS automation policies (#5120)
* httpcaddyfile: Skip some logic if auto_https off * Try removing this check altogether... * Refine test timeouts slightly, sigh * caddyhttp: Assume udp for unrecognized network type Seems like the reasonable thing to do if a plugin registers its own network type. * Add comment to document my lack of knowledge * Clean up and prepare to merge Add comments to try to explain what happened
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/integration/reverseproxy_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/caddytest/integration/reverseproxy_test.go b/caddytest/integration/reverseproxy_test.go
index 049c7fd..f7b1967 100644
--- a/caddytest/integration/reverseproxy_test.go
+++ b/caddytest/integration/reverseproxy_test.go
@@ -436,8 +436,8 @@ func TestReverseProxyHealthCheck(t *testing.T) {
health_uri /health
health_port 2021
- health_interval 2s
- health_timeout 5s
+ health_interval 10ms
+ health_timeout 100ms
}
}
`, "caddyfile")