-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 5/16/19 16:39, ma...@apache.org wrote: > This is an automated email from the ASF dual-hosted git > repository. > > markt pushed a commit to branch master in repository > https://gitbox.apache.org/repos/asf/tomcat.git > > > The following commit(s) were added to refs/heads/master by this > push: new c44cf6c Reduce the default HTTP/2 header list size from > 4GB to 32kB !!!! - -chris > c44cf6c is described below > > commit c44cf6cd2d2b06dc566d802ab9187d80a68fa5f0 Author: Mark Thomas > <ma...@apache.org> AuthorDate: Thu May 16 21:38:45 2019 +0100 > > Reduce the default HTTP/2 header list size from 4GB to 32kB > > Aligns Tomcat with typical HTTP/2 implementations. --- > java/org/apache/coyote/http2/ConnectionSettingsBase.java | 2 +- > webapps/docs/changelog.xml | 4 ++++ 2 > files changed, 5 insertions(+), 1 deletion(-) > > diff --git > a/java/org/apache/coyote/http2/ConnectionSettingsBase.java > b/java/org/apache/coyote/http2/ConnectionSettingsBase.java index > 939e6d0..3cf2d8d 100644 --- > a/java/org/apache/coyote/http2/ConnectionSettingsBase.java +++ > b/java/org/apache/coyote/http2/ConnectionSettingsBase.java @@ -43,7 > +43,7 @@ abstract class ConnectionSettingsBase<T extends Throwable> > { static final long DEFAULT_MAX_CONCURRENT_STREAMS = UNLIMITED; > static final int DEFAULT_INITIAL_WINDOW_SIZE = (1 << 16) - 1; > static final int DEFAULT_MAX_FRAME_SIZE = MIN_MAX_FRAME_SIZE; - > static final long DEFAULT_MAX_HEADER_LIST_SIZE = UNLIMITED; + > static final long DEFAULT_MAX_HEADER_LIST_SIZE = 1 << 15; > > Map<Setting, Long> current = new EnumMap<>(Setting.class); > Map<Setting, Long> pending = new EnumMap<>(Setting.class); diff > --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml > index c1e6b03..2aeb8c8 100644 --- a/webapps/docs/changelog.xml +++ > b/webapps/docs/changelog.xml @@ -132,6 +132,10 @@ > <code>Http2Protocol</code> from 200 to 100 to align with typical > defaults for HTTP/2 implementations. (markt) </update> + > <update> + Reduce the default HTTP/2 header list size from > 4GB to 32kB to align + with typical HTTP/2 implementations. > (markt) + </update> </changelog> </subsection> <subsection > name="Cluster"> > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlzeyBsACgkQHPApP6U8 pFhd9A//cQx1EeKy8CMMClXWS5THmcNLAuAwPhpX4FACq+e9iX+Z8OFLXYTeGhv2 XP85v9zJBvSK/eAo6H1QWkOTZqqt4wYt5Nnt4ivjnJ3Vjr898EbfnP8Fv7xCSwxY aXM+1bt/jGC6Qa4r5xw9o518hiw1rssqMN4ifyxh0o5oEyklE4eHHGbg8y+xFUCp TsCIQ2KzxETc9ErywzXO4xao+nd9sVLChCVkTdELBMzZoXMrDB0cEZbK50Gcs14o mhaDGjSFqUN8W8qcPLryFLHOQoMQm3agRRTgsc5ScuBlmS/B0G7ndMyGf6OaIlLh GiZbD/CJFwH1VzS8zTSQM3iGSRu+yYckRlThDOQjTbCunc9Qu+7S9OQQCW4DxfaN QhGWlpixJO2E7GUfKJCNY4ItkWuaVhTjPkdpNnqHo0PMkDrwUGZPibLK90HgbX2e 3kQGEr8q8Gv+qdTiHvCEaSQH0CEVF5YnGRk1RKSbtSgufAWkwhOas24jkc9wVC83 2dGlUEzBEU9kcF/v4DobJnKZPhkRBlQpCmpxCSa+LI7izaRQan5EIb4tNchRDRi2 awlJVnZMJ3XfB6w/4kpONd/B7qOBduVmzfdRMdhd0KgrHltn7tJY9sfinPyQMfQY ilrPl+5BYa3f67PsTahiB8xghWUQ/su/nBo1gzqbw9nILET61oQ= =/l5K -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org