From 5c7ca7d96e2d4ee2d3044475ce03e46589445b51 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 5 Feb 2020 17:34:28 -0700 Subject: http: Split 2-phase auto-HTTPS into 3 phases This is necessary to avoid a race for sockets. Both the HTTP servers and CertMagic solvers will try to bind the HTTP/HTTPS ports, but we need to make sure that our HTTP servers bind first. This is kind of a new thing now that management is async in Caddy 2. Also update to CertMagic 0.9.2, which fixes some async use cases at scale. --- go.mod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 57eb414..2f63c28 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,6 @@ require ( github.com/alecthomas/chroma v0.7.0 github.com/andybalholm/brotli v0.0.0-20190821151343-b60f0d972eeb github.com/cenkalti/backoff/v3 v3.1.1 // indirect - github.com/decker502/dnspod-go v0.2.0 // indirect github.com/dustin/go-humanize v1.0.0 github.com/go-acme/lego/v3 v3.3.0 github.com/golang/groupcache v0.0.0-20191002201903-404acd9df4cc @@ -18,7 +17,7 @@ require ( github.com/klauspost/cpuid v1.2.2 github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucas-clemente/quic-go v0.14.1 - github.com/mholt/certmagic v0.9.1 + github.com/mholt/certmagic v0.9.2 github.com/miekg/dns v1.1.25 // indirect github.com/muhammadmuzzammil1998/jsonc v0.0.0-20190906142622-1265e9b150c6 github.com/naoina/go-stringutil v0.1.0 // indirect -- cgit v1.2.3