forked from quic-go/quic-go
convert Connection interface to Conn struct (#5195)
This commit is contained in:
@@ -46,7 +46,7 @@ func (s *Server) ServeListener(ln *quic.EarlyListener) error {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Server) handleConn(conn quic.Connection) {
|
||||
func (s *Server) handleConn(conn *quic.Conn) {
|
||||
for {
|
||||
str, err := conn.AcceptStream(context.Background())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user