diff options
author | Marten Seemann <[email protected]> | 2023-07-21 21:00:48 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-21 22:00:48 -0600 |
commit | f45a6de20dd19e82e58c85b37e03957b2203b544 (patch) | |
tree | cc8152b73fd31c09111dfb0034960a0c20d6ff67 /modules/caddyhttp/reverseproxy/selectionpolicies.go | |
parent | b51dc5d5d0b8764165170af1f54b77d6de8cb5a1 (diff) | |
download | caddy-f45a6de20dd19e82e58c85b37e03957b2203b544.tar.gz caddy-f45a6de20dd19e82e58c85b37e03957b2203b544.zip |
go.mod: Update quic-go to v0.37.0, bump to Go 1.20 minimum (#5644)
* update quic-go to v0.37.0
* Bump to Go 1.20
* Bump golangci-lint version, yml syntax consistency
* Use skip-pkg-cache workaround
* Workaround needed for both?
* Seeding weakrand is no longer necessary
---------
Co-authored-by: Matt Holt <[email protected]>
Co-authored-by: Francis Lavoie <[email protected]>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/selectionpolicies.go')
-rw-r--r-- | modules/caddyhttp/reverseproxy/selectionpolicies.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/caddyhttp/reverseproxy/selectionpolicies.go b/modules/caddyhttp/reverseproxy/selectionpolicies.go index f89c48f7d..bc6de3516 100644 --- a/modules/caddyhttp/reverseproxy/selectionpolicies.go +++ b/modules/caddyhttp/reverseproxy/selectionpolicies.go @@ -27,7 +27,6 @@ import ( "strconv" "strings" "sync/atomic" - "time" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddyconfig" @@ -48,8 +47,6 @@ func init() { caddy.RegisterModule(QueryHashSelection{}) caddy.RegisterModule(HeaderHashSelection{}) caddy.RegisterModule(CookieHashSelection{}) - - weakrand.Seed(time.Now().UTC().UnixNano()) } // RandomSelection is a policy that selects |