Author: remm Date: Tue Sep 27 15:26:16 2016 New Revision: 1762503 URL: http://svn.apache.org/viewvc?rev=1762503&view=rev Log: 60173: Allow up to 64kB header table size. Hopefully this will not keep increasing indefinitely.
Modified: tomcat/trunk/java/org/apache/coyote/http2/ConnectionSettingsBase.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/coyote/http2/ConnectionSettingsBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/ConnectionSettingsBase.java?rev=1762503&r1=1762502&r2=1762503&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http2/ConnectionSettingsBase.java (original) +++ tomcat/trunk/java/org/apache/coyote/http2/ConnectionSettingsBase.java Tue Sep 27 15:26:16 2016 @@ -176,7 +176,7 @@ public abstract class ConnectionSettings private void validateHeaderTableSize(long headerTableSize) throws T { // Need to put a sensible limit on this. Start with 16k (default is 4k) - if (headerTableSize > (16 * 1024)) { + if (headerTableSize > (64 * 1024)) { String msg = sm.getString("connectionSettings.headerTableSizeLimit", connectionId, Long.toString(headerTableSize)); throwException(msg, Http2Error.PROTOCOL_ERROR); Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1762503&r1=1762502&r2=1762503&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Sep 27 15:26:16 2016 @@ -125,6 +125,9 @@ <bug>60174</bug>: Log instances of <code>HeadersTooLargeException</code> during request processing. (markt) </fix> + <fix> + <bug>60173</bug>: Allow up to 64kB HTTP/2 header table size limit. (remm) + </fix> </changelog> </subsection> <subsection name="Jasper"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org