From 9e6f9485c60f5e4598002e940c38dab9a53a7b4b Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Tue, 8 Jun 2021 13:42:01 +1000 Subject: [PATCH] Issue #6329 Changes post review Signed-off-by: Jan Bartel --- .../http2-server/src/main/config/etc/jetty-http2c.xml | 6 +++--- jetty-http2/http2-server/src/main/config/modules/http2c.mod | 6 +++--- jetty-server/src/main/config/etc/jetty.xml | 2 +- jetty-server/src/main/config/modules/server.mod | 2 +- .../main/config-template/etc/jetty-unixsocket-http2c.xml | 4 ++-- .../src/main/config-template/modules/unixsocket-http2c.mod | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/jetty-http2/http2-server/src/main/config/etc/jetty-http2c.xml b/jetty-http2/http2-server/src/main/config/etc/jetty-http2c.xml index 1cd68372f548..86b10ada984f 100644 --- a/jetty-http2/http2-server/src/main/config/etc/jetty-http2c.xml +++ b/jetty-http2/http2-server/src/main/config/etc/jetty-http2c.xml @@ -6,10 +6,10 @@ - - + + - + diff --git a/jetty-http2/http2-server/src/main/config/modules/http2c.mod b/jetty-http2/http2-server/src/main/config/modules/http2c.mod index 46b5364ce0b8..f1a6fc4f55af 100644 --- a/jetty-http2/http2-server/src/main/config/modules/http2c.mod +++ b/jetty-http2/http2-server/src/main/config/modules/http2c.mod @@ -18,13 +18,13 @@ etc/jetty-http2c.xml [ini-template] # tag::documentation[] ## Specifies the maximum number of concurrent requests per session. -# jetty.http2c.maxConcurrentStreams=1024 +# jetty.http2c.maxConcurrentStreams=128 ## Specifies the initial stream receive window (client to server) in bytes. -# jetty.http2c.initialStreamRecvWindow=65535 +# jetty.http2c.initialStreamRecvWindow=524288 ## Specifies the initial session receive window (client to server) in bytes. -# jetty.http2.initialSessionRecvWindow=1048576 +# jetty.http2.initialSessionRecvWindow=1232896 ## Specifies the maximum number of keys in all SETTINGS frames received by a session. # jetty.http2.maxSettingsKeys=64 diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml index 4c693b222db3..42dcefc69ad6 100644 --- a/jetty-server/src/main/config/etc/jetty.xml +++ b/jetty-server/src/main/config/etc/jetty.xml @@ -67,7 +67,7 @@ - + diff --git a/jetty-server/src/main/config/modules/server.mod b/jetty-server/src/main/config/modules/server.mod index f9559177fde1..e4da017237e2 100644 --- a/jetty-server/src/main/config/modules/server.mod +++ b/jetty-server/src/main/config/modules/server.mod @@ -63,7 +63,7 @@ etc/jetty.xml # jetty.httpConfig.compliance=RFC7230 ## URI Compliance: SAFE, STRICT -# jetty.httpConfig.uriCompliance=SAFE +# jetty.httpConfig.uriCompliance=DEFAULT ## Cookie compliance mode for parsing request Cookie headers: RFC2965, RFC6265 # jetty.httpConfig.requestCookieCompliance=RFC6265 diff --git a/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/etc/jetty-unixsocket-http2c.xml b/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/etc/jetty-unixsocket-http2c.xml index 75cb2a487a29..3871d02981a9 100644 --- a/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/etc/jetty-unixsocket-http2c.xml +++ b/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/etc/jetty-unixsocket-http2c.xml @@ -6,8 +6,8 @@ - - + + diff --git a/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/modules/unixsocket-http2c.mod b/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/modules/unixsocket-http2c.mod index 72d245711065..efae77ba2362 100644 --- a/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/modules/unixsocket-http2c.mod +++ b/jetty-unixsocket/jetty-unixsocket-server/src/main/config-template/modules/unixsocket-http2c.mod @@ -20,7 +20,7 @@ etc/jetty-unixsocket-http2c.xml [ini-template] ## Max number of concurrent streams per connection -# jetty.http2.maxConcurrentStreams=1024 +# jetty.http2.maxConcurrentStreams=128 ## Initial stream receive window (client to server) -# jetty.http2.initialStreamRecvWindow=65535 +# jetty.http2.initialStreamRecvWindow=524288