use the new crypto/tls QUIC Transport (#3860)

This commit is contained in:
Marten Seemann
2023-07-01 11:15:00 -07:00
committed by GitHub
parent 4998733ae1
commit 3d89e545d3
55 changed files with 2197 additions and 1509 deletions

View File

@@ -577,7 +577,7 @@ func (s *Server) handleRequest(conn quic.Connection, str quic.Stream, decoder *q
return newStreamError(ErrCodeGeneralProtocolError, err)
}
connState := conn.ConnectionState().TLS.ConnectionState
connState := conn.ConnectionState().TLS
req.TLS = &connState
req.RemoteAddr = conn.RemoteAddr().String()
body := newRequestBody(newStream(str, onFrameError))