Skip to content

Commit

Permalink
Merge pull request #1345 from confluentinc/mwong-jetty-upgrade-7.8
Browse files Browse the repository at this point in the history
[7.8.x] Use Confluent package for DosFilter
  • Loading branch information
mattwong949 authored Jan 31, 2025
2 parents 05170f6 + a313d61 commit acc4b58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
package io.confluent.kafkarest.requestlog;

import io.confluent.kafkarest.ratelimit.RateLimitExceededException.ErrorCodes;
import io.confluent.rest.jetty.DoSFilter;
import io.confluent.rest.jetty.DoSFilter.Action;
import io.confluent.rest.jetty.DoSFilter.OverLimit;
import javax.servlet.http.HttpServletRequest;
import org.eclipse.jetty.servlets.DoSFilter;
import org.eclipse.jetty.servlets.DoSFilter.Action;
import org.eclipse.jetty.servlets.DoSFilter.OverLimit;

/**
* This class is a Jetty DosFilter.Listener, for the global-dos filter. This on 429s will populate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
package io.confluent.kafkarest.requestlog;

import io.confluent.kafkarest.ratelimit.RateLimitExceededException.ErrorCodes;
import io.confluent.rest.jetty.DoSFilter;
import io.confluent.rest.jetty.DoSFilter.Action;
import io.confluent.rest.jetty.DoSFilter.OverLimit;
import javax.servlet.http.HttpServletRequest;
import org.eclipse.jetty.servlets.DoSFilter;
import org.eclipse.jetty.servlets.DoSFilter.Action;
import org.eclipse.jetty.servlets.DoSFilter.OverLimit;

/**
* This class is a Jetty DosFilter.Listener, for the per-connection-dos(aka per IP, or non-global)
Expand Down

0 comments on commit acc4b58

Please sign in to comment.