mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
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 <mholt@users.noreply.github.com> Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
b51dc5d5d0
commit
f45a6de20d
13 changed files with 69 additions and 64 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue