Look the expected checksum up instead of carrying it in the frame

This commit is contained in:
flamingcow
2026-08-04 12:45:04 -07:00
parent 03b7ff4954
commit 1f9b5ea62e
4 changed files with 18 additions and 12 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ func (w *txWorker) run(done *atomic.Bool) {
si = 0
}
sizes[i] = size
putHeader(bufs[i], pats[i], w.stream, seq+uint64(i), size-minFrame,
w.spec.crcFor[pats[i]][size])
putHeader(bufs[i], pats[i], w.stream, seq+uint64(i), size-minFrame)
iovs[i].Len = uint64(size)
}