rename the Session to Connection

This commit is contained in:
Marten Seemann
2022-03-26 14:35:01 +01:00
parent 42f3159497
commit e71c236232
19 changed files with 73 additions and 73 deletions

View File

@@ -86,7 +86,7 @@ func (s *Server) ListenAndServe() error {
}
}
func (s *Server) handleConn(sess quic.Session) {
func (s *Server) handleConn(sess quic.Connection) {
for {
str, err := sess.AcceptStream(context.Background())
if err != nil {