mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
support go 1.18
This commit is contained in:
@@ -51,7 +51,8 @@ type ServerConn struct {
|
||||
|
||||
func newServerConn(
|
||||
s *Server,
|
||||
nconn net.Conn) *ServerConn {
|
||||
nconn net.Conn,
|
||||
) *ServerConn {
|
||||
ctx, ctxCancel := context.WithCancel(s.ctx)
|
||||
|
||||
conn := func() net.Conn {
|
||||
|
Reference in New Issue
Block a user