Merge branch 'jetty-9.4.x' into jetty-10.0.x
This commit is contained in:
commit
14ffa0d981
|
@ -316,7 +316,7 @@ public class DoSFilter implements Filter
|
|||
// Get a rate tracker associated with this request, and record one hit.
|
||||
tracker = getRateTracker(request);
|
||||
|
||||
// Calculate the rate and check it is over the allowed limit
|
||||
// Calculate the rate and check if it is over the allowed limit
|
||||
final boolean overRateLimit = tracker.isRateExceeded(System.currentTimeMillis());
|
||||
|
||||
// Pass it through if we are not currently over the rate limit.
|
||||
|
|
Loading…
Reference in New Issue