summaryrefslogtreecommitdiff
path: root/listeners.go
diff options
context:
space:
mode:
author世界 <i@sekai.icu>2022-05-12 13:25:17 +0800
committerGitHub <noreply@github.com>2022-05-12 01:25:17 -0400
commit4b4e99bdb2e327d553a5f773f827f624181714af (patch)
tree38479d3a107f34a8250614d599b334286f030f82 /listeners.go
parent57d27c1b58e3e47d813a48a60557f013dc3b87d1 (diff)
chore: Bump quic-go to v0.27.0 (#4782)
Diffstat (limited to 'listeners.go')
-rw-r--r--listeners.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/listeners.go b/listeners.go
index 181db75..f2d7e10 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