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:
Matthias Radestock committed 2015-03-27 11:05:50 +00:00
1 parent 1c5fee0a5e
commit 1a39cb163a
1 file changed
-1
-1
View File
@@ -311,7 +311,6 @@ func (fwd *Forwarder) accumulateAndSendFrames() {
fwd.flush()
if !fwd.appendFrame(frame) {
fwd.logDrop(frame)
return
}
}
default: