-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged branch 'jetty-12.0.x' into 'jetty-12.1.x'.
Signed-off-by: Simone Bordet <[email protected]>
- Loading branch information
Showing
19 changed files
with
617 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd"> | ||
|
||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
<Call name="insertHandler"> | ||
<Arg> | ||
<New class="org.eclipse.jetty.server.handler.QoSHandler"> | ||
<Set name="maxRequestCount" property="jetty.qos.maxRequestCount" /> | ||
<Set name="maxSuspendedRequestCount" property="jetty.qos.maxSuspendedRequestCount" /> | ||
<Set name="maxSuspend"> | ||
<Call class="java.time.Duration" name="ofMillis"> | ||
<Arg type="long"> | ||
<Property name="jetty.qos.maxSuspendDuration" default="0" /> | ||
</Arg> | ||
</Call> | ||
</Set> | ||
<Call name="includeMethod"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.include.method" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
<Call name="excludeMethod"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.exclude.method" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
<Call name="includePath"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.include.path" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
<Call name="excludePath"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.exclude.path" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
<Call name="includeInetAddressPattern"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.include.inet" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
<Call name="excludeInetAddressPattern"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.qos.exclude.inet" default="" /></Arg> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
</New> | ||
</Arg> | ||
</Call> | ||
</Configure> |
13 changes: 13 additions & 0 deletions
13
jetty-core/jetty-server/src/main/config/etc/jetty-size-limit.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd"> | ||
|
||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
<Call name="insertHandler"> | ||
<Arg> | ||
<New class="org.eclipse.jetty.server.handler.SizeLimitHandler"> | ||
<Arg type="long"><Property name="jetty.sizeLimit.maxRequestContentSize" default="-1" /></Arg> | ||
<Arg type="long"><Property name="jetty.sizeLimit.maxResponseContentSize" default="-1" /></Arg> | ||
</New> | ||
</Arg> | ||
</Call> | ||
</Configure> |
56 changes: 56 additions & 0 deletions
56
jetty-core/jetty-server/src/main/config/etc/jetty-thread-limit.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_10_0.dtd"> | ||
|
||
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | ||
<Call name="insertHandler"> | ||
<Arg> | ||
<New id="ThreadLimitHandler" class="org.eclipse.jetty.server.handler.ThreadLimitHandler"> | ||
<Arg name="forwardedHeader"><Property name="jetty.threadlimit.forwardedHeader"/></Arg> | ||
<Set name="enabled"><Property name="jetty.threadlimit.enabled" default="true"/></Set> | ||
<Set name="threadLimit" property="jetty.threadlimit.threadLimit"/> | ||
<Call name="includeMethod"> | ||
<Arg> | ||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"> | ||
<Arg><Property name="jetty.threadlimit.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> | ||
</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> | ||
</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> | ||
</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> | ||
</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> | ||
</Call> | ||
</Arg> | ||
</Call> | ||
</New> | ||
</Arg> | ||
</Call> | ||
</Configure> |
19 changes: 0 additions & 19 deletions
19
jetty-core/jetty-server/src/main/config/etc/jetty-threadlimit.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ server | |
server | ||
|
||
[after] | ||
threadlimit | ||
thread-limit | ||
|
||
[xml] | ||
etc/jetty-delayed.xml | ||
|
Oops, something went wrong.