Skip to content

Commit 446bead

Browse files
committed
upd
1 parent 570e9b0 commit 446bead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sess.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func newUDPSession(conv uint32, dataShards, parityShards int, l *Listener, conn
175175
sess.kcp.ReserveBytes(sess.headerSize)
176176

177177
if sess.l == nil { // it's a client connection
178-
go sess.readLoop(conn)
178+
go sess.readLoop()
179179
atomic.AddUint64(&DefaultSnmp.ActiveOpens, 1)
180180
} else {
181181
atomic.AddUint64(&DefaultSnmp.PassiveOpens, 1)
@@ -1007,7 +1007,7 @@ func serveConn(block BlockCrypt, dataShards, parityShards int, conn net.PacketCo
10071007
l.parityShards = parityShards
10081008
l.block = block
10091009
l.chSocketReadError = make(chan struct{})
1010-
go l.monitor(conn)
1010+
go l.monitor()
10111011
return l, nil
10121012
}
10131013

0 commit comments

Comments
 (0)