diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-10-13 11:30:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 11:30:57 -0600 |
commit | 6bad878a22e048762262d6fabe2144cefaf4ca81 (patch) | |
tree | d949d7efe31fb1e2ce6127fc35359382c88852aa /caddytest | |
parent | 3e1fd2a8d4d1463574033fbbdf5c27a693f9a86c (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.go | 4 |
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") |