Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d4dc96

Browse files
committed
fixup! fixup! drain connection async
1 parent 2f8cb85 commit 5d4dc96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scaletest/trafficgen/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ func drainContext(ctx context.Context, src io.Reader, bufSize int64) error {
149149
return
150150
default:
151151
_, err := io.CopyN(buf, src, 1)
152-
// _, err := src.Read(tmp)
153152
if err != nil {
154153
errCh <- err
155154
close(errCh)

0 commit comments

Comments
 (0)