Drop expired packets in the processing chain.
Dieser Commit ist enthalten in:
Ursprung
cda235af7e
Commit
5ac15f11dc
@ -441,12 +441,14 @@ public class AsyncListenerHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now, get the next non-cancelled listener
|
// Now, get the next non-cancelled listener
|
||||||
for (; marker.getListenerTraversal().hasNext(); ) {
|
if (!marker.hasExpired()) {
|
||||||
AsyncListenerHandler handler = marker.getListenerTraversal().next().getListener();
|
for (; marker.getListenerTraversal().hasNext(); ) {
|
||||||
|
AsyncListenerHandler handler = marker.getListenerTraversal().next().getListener();
|
||||||
if (!handler.isCancelled()) {
|
|
||||||
handler.enqueuePacket(packet);
|
if (!handler.isCancelled()) {
|
||||||
continue mainLoop;
|
handler.enqueuePacket(packet);
|
||||||
|
continue mainLoop;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren