From 6f823712c8db619e0b37244dc4c336b9fce61f84 Mon Sep 17 00:00:00 2001 From: xtaci Date: Tue, 10 Dec 2024 15:17:15 +0800 Subject: [PATCH] remove a comment --- hopper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hopper.go b/hopper.go index 45c40ea..3d8df79 100644 --- a/hopper.go +++ b/hopper.go @@ -221,7 +221,7 @@ func (l *Listener) clientIn(data []byte, raddr net.Addr) { // the context is the address of incoming packet ctx := raddr l.watcher.ReadTimeout(ctx, conn, make([]byte, mtuLimit), time.Now().Add(l.timeout)) - l.watcher.WriteTimeout(ctx, conn, data, time.Now().Add(l.timeout)) // write needs not to specify the context(where the packet from) + l.watcher.WriteTimeout(ctx, conn, data, time.Now().Add(l.timeout)) } }