Archiviert
13
0

Drop expired packets in the processing chain.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-11-02 01:18:38 +01:00
Ursprung cda235af7e
Commit 5ac15f11dc

Datei anzeigen

@ -441,6 +441,7 @@ public class AsyncListenerHandler {
} }
// Now, get the next non-cancelled listener // Now, get the next non-cancelled listener
if (!marker.hasExpired()) {
for (; marker.getListenerTraversal().hasNext(); ) { for (; marker.getListenerTraversal().hasNext(); ) {
AsyncListenerHandler handler = marker.getListenerTraversal().next().getListener(); AsyncListenerHandler handler = marker.getListenerTraversal().next().getListener();
@ -449,6 +450,7 @@ public class AsyncListenerHandler {
continue mainLoop; continue mainLoop;
} }
} }
}
// There are no more listeners - queue the packet for transmission // There are no more listeners - queue the packet for transmission
filterManager.signalFreeProcessingSlot(packet); filterManager.signalFreeProcessingSlot(packet);