keep accumulating frames even when dropping some
This logically makes more sense, i.e. we keep draining frames from fwd.ch until we run out.
This commit is contained in:
1 parent
1c5fee0a5e
commit
1a39cb163a
1 file changed
-1
@@ -311,7 +311,6 @@ func (fwd *Forwarder) accumulateAndSendFrames() {
|
|||||||
fwd.flush()
|
fwd.flush()
|
||||||
if !fwd.appendFrame(frame) {
|
if !fwd.appendFrame(frame) {
|
||||||
fwd.logDrop(frame)
|
fwd.logDrop(frame)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in new issue
Block a user