summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author世界 <[email protected]>2022-05-12 13:25:17 +0800
committerGitHub <[email protected]>2022-05-12 01:25:17 -0400
commit4b4e99bdb2e327d553a5f773f827f624181714af (patch)
tree38479d3a107f34a8250614d599b334286f030f82
parent57d27c1b58e3e47d813a48a60557f013dc3b87d1 (diff)
downloadcaddy-4b4e99bdb2e327d553a5f773f827f624181714af.tar.gz
caddy-4b4e99bdb2e327d553a5f773f827f624181714af.zip
chore: Bump quic-go to v0.27.0 (#4782)
-rw-r--r--go.mod2
-rw-r--r--go.sum4
-rw-r--r--listeners.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/go.mod b/go.mod
index 0dd59776f..4cd8abb1d 100644
--- a/go.mod
+++ b/go.mod
@@ -14,7 +14,7 @@ require (
github.com/google/uuid v1.3.0
github.com/klauspost/compress v1.15.0
github.com/klauspost/cpuid/v2 v2.0.11
- github.com/lucas-clemente/quic-go v0.26.0
+ github.com/lucas-clemente/quic-go v0.27.0
github.com/mholt/acmez v1.0.2
github.com/prometheus/client_golang v1.12.1
github.com/smallstep/certificates v0.19.0
diff --git a/go.sum b/go.sum
index dde9bbc70..8469aae07 100644
--- a/go.sum
+++ b/go.sum
@@ -719,8 +719,8 @@ github.com/libdns/libdns v0.2.1 h1:Wu59T7wSHRgtA0cfxC+n1c/e+O3upJGWytknkmFEDis=
github.com/libdns/libdns v0.2.1/go.mod h1:yQCXzk1lEZmmCPa857bnk4TsOiqYasqpyOEeSObbb40=
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
-github.com/lucas-clemente/quic-go v0.26.0 h1:ALBQXr9UJ8A1LyzvceX4jd9QFsHvlI0RR6BkV16o00A=
-github.com/lucas-clemente/quic-go v0.26.0/go.mod h1:AzgQoPda7N+3IqMMMkywBKggIFo2KT6pfnlrQ2QieeI=
+github.com/lucas-clemente/quic-go v0.27.0 h1:v6WY87q9zD4dKASbG8hy/LpzAVNzEQzw8sEIeloJsc4=
+github.com/lucas-clemente/quic-go v0.27.0/go.mod h1:AzgQoPda7N+3IqMMMkywBKggIFo2KT6pfnlrQ2QieeI=
github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794/go.mod h1:E23UucZGqpuUANJooIbHWCufXvOcT6E7Stq81gU+CSQ=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk=
diff --git a/listeners.go b/listeners.go
index 181db75a9..f2d7e10bf 100644
--- a/listeners.go
+++ b/listeners.go
@@ -184,7 +184,7 @@ type fakeCloseQuicListener struct {
// server on which Accept would be called with non-empty contexts
// (mind that the default net listeners' Accept doesn't take a context argument)
// sounds way too rare for us to sacrifice efficiency here.
-func (fcql *fakeCloseQuicListener) Accept(_ context.Context) (quic.EarlySession, error) {
+func (fcql *fakeCloseQuicListener) Accept(_ context.Context) (quic.EarlyConnection, error) {
conn, err := fcql.sharedQuicListener.Accept(fcql.context)
if err == nil {
return conn, nil