You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/06/07 19:46:27 UTC
[tomcat] branch 10.0.x updated: Restore a (commented out) HTTP/2
example
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 2a3cde3 Restore a (commented out) HTTP/2 example
2a3cde3 is described below
commit 2a3cde3f8c815cd67763d361f33dd2b75ca14734
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jun 7 20:45:52 2021 +0100
Restore a (commented out) HTTP/2 example
---
conf/server.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/server.xml b/conf/server.xml
index dd4a73b..478ce6e 100644
--- a/conf/server.xml
+++ b/conf/server.xml
@@ -75,7 +75,7 @@
connectionTimeout="20000"
redirectPort="8443" />
-->
- <!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443
+ <!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2
This connector uses the NIO implementation. The default
SSLImplementation will depend on the presence of the APR/native
library and the useOpenSSL attribute of the
@@ -86,6 +86,7 @@
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
+ <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
type="RSA" />
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org