Judge a frame against the stream its socket receives rather than the one its header claims

This commit is contained in:
flamingcow
2026-08-04 21:19:08 -07:00
parent 51467231ee
commit 21788fdd4f
2 changed files with 18 additions and 17 deletions
+7 -6
View File
@@ -464,12 +464,13 @@ func (d *direction) start(wg *sync.WaitGroup, doneTx, doneRx *atomic.Bool, rxRea
}
for i, fd := range d.rxFDs {
w := &rxWorker{
fd: fd,
batch: batchSize,
spec: d.specs[i],
stats: d.rxStats[i],
streams: d.streams,
ready: rxReady,
fd: fd,
batch: batchSize,
stream: uint16(i),
spec: d.specs[i],
stats: d.rxStats[i],
loss: &d.streams[i],
ready: rxReady,
}
wg.Add(1)
go func() {