Skip to content

Commit 6f82371

Browse files
committed
remove a comment
1 parent 88d41e8 commit 6f82371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hopper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func (l *Listener) clientIn(data []byte, raddr net.Addr) {
221221
// the context is the address of incoming packet
222222
ctx := raddr
223223
l.watcher.ReadTimeout(ctx, conn, make([]byte, mtuLimit), time.Now().Add(l.timeout))
224-
l.watcher.WriteTimeout(ctx, conn, data, time.Now().Add(l.timeout)) // write needs not to specify the context(where the packet from)
224+
l.watcher.WriteTimeout(ctx, conn, data, time.Now().Add(l.timeout))
225225
}
226226
}
227227

0 commit comments

Comments
 (0)