Skip to content

Commit

Permalink
Fixed eager-content.mod and jetty-eager-content.xml.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed Nov 18, 2024
1 parent 371ee07 commit 81adea8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,42 +58,42 @@
<Call name="includeMethod">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.include.method" default="" /></Arg>
<Arg><Property name="jetty.eager.include.method" default="" /></Arg>
</Call>
</Arg>
</Call>
<Call name="excludeMethod">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.exclude.method" default="" /></Arg>
<Arg><Property name="jetty.eager.exclude.method" default="" /></Arg>
</Call>
</Arg>
</Call>
<Call name="includePath">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.include.path" default="" /></Arg>
<Arg><Property name="jetty.eager.include.path" default="" /></Arg>
</Call>
</Arg>
</Call>
<Call name="excludePath">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.exclude.path" default="" /></Arg>
<Arg><Property name="jetty.eager.exclude.path" default="" /></Arg>
</Call>
</Arg>
</Call>
<Call name="includeInetAddressPattern">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.include.inet" default="" /></Arg>
<Arg><Property name="jetty.eager.include.inet" default="" /></Arg>
</Call>
</Arg>
</Call>
<Call name="excludeInetAddressPattern">
<Arg>
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
<Arg><Property name="jetty.threadlimit.exclude.inet" default="" /></Arg>
<Arg><Property name="jetty.eager.exclude.inet" default="" /></Arg>
</Call>
</Arg>
</Call>
Expand Down
18 changes: 18 additions & 0 deletions jetty-core/jetty-server/src/main/config/modules/eager-content.mod
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,22 @@ etc/jetty-eager-content.xml

## Whether requests should be rejected if they exceed maxRetainedBytes.
# jetty.eager.content.rejectWhenExceeded=false

## A comma-separated list of HTTP methods to include when matching a request.
# jetty.eager.include.method=

## A comma-separated list of HTTP methods to exclude when matching a request.
# jetty.eager.exclude.method=

## A comma-separated list of URI path patterns to include when matching a request.
# jetty.eager.include.path=

## A comma-separated list of URI path patterns to exclude when matching a request.
# jetty.eager.exclude.path=

## A comma-separated list of remote addresses patterns to include when matching a request.
# jetty.eager.include.inet=

## A comma-separated list of remote addresses patterns to exclude when matching a request.
# jetty.eager.exclude.inet=
#end::documentation[]

0 comments on commit 81adea8

Please sign in to comment.