chore: update quic-go to 0.34.0

This commit is contained in:
wwqgtxx
2023-06-01 16:25:02 +08:00
parent 7fa3d3aa0b
commit 9b6e56a65e
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")