Author: remm
Date: Tue Oct 31 17:57:40 2017
New Revision: 1813919
URL: http://svn.apache.org/viewvc?rev=1813919&view=rev
Log:
Reduce default stream concurrent execution from 200 to 20.
Modified:
tomcat/trunk/java/org/apache/coyote/http2/Http2Protocol.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2Protocol.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Http2Protocol.java?rev=1813919&r1=1813918&r2=1813919&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/Http2Protocol.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Http2Protocol.java Tue Oct 31
17:57:40 2017
@@ -45,7 +45,7 @@ public class Http2Protocol implements Up
static final long DEFAULT_MAX_CONCURRENT_STREAMS = 200;
// Maximum amount of streams which can be concurrently executed over
// a single connection
- static final int DEFAULT_MAX_CONCURRENT_STREAM_EXECUTION = 200;
+ static final int DEFAULT_MAX_CONCURRENT_STREAM_EXECUTION = 20;
// This default is defined by the HTTP/2 specification
static final int DEFAULT_INITIAL_WINDOW_SIZE = (1 << 16) - 1;
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1813919&r1=1813918&r2=1813919&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Oct 31 17:57:40 2017
@@ -80,6 +80,10 @@
<add>
Sendfile support for HTTP/2 and NIO2. (remm)
</add>
+ <fix>
+ Reduce default HTTP/2 stream concurrent execution within a connection
+ from 200 to 20. (remm)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]