Update quic-go to v0.58.0

This commit is contained in:
世界
2025-12-21 23:01:42 +08:00
parent cba18635c8
commit 35ff7d1fb4
7 changed files with 240 additions and 237 deletions

View File

@@ -88,7 +88,7 @@ func (s *Server) streamAcceptLoop(conn *quic.Conn) error {
for {
stream, err := conn.AcceptStream(s.ctx)
if err != nil {
return err
return qtls.WrapError(err)
}
go s.handler.NewConnectionEx(conn.Context(), &StreamWrapper{Conn: conn, Stream: stream}, M.SocksaddrFromNet(conn.RemoteAddr()), M.Socksaddr{}, nil)
}