chore: update quic-go to 0.34.0

This commit is contained in:
wwqgtxx
2023-06-01 16:25:02 +08:00
committed by Larvan2
parent 8d1251f128
commit 359ee70daa
3 changed files with 10 additions and 10 deletions

View File

@ -93,7 +93,7 @@ func (s *serverHandler) handle() {
_ = s.handleMessage()
}()
<-s.quicConn.HandshakeComplete().Done()
<-s.quicConn.HandshakeComplete()
time.AfterFunc(s.AuthenticationTimeout, func() {
s.authOnce.Do(func() {
_ = s.quicConn.CloseWithError(AuthenticationTimeout, "AuthenticationTimeout")