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 2020/11/23 14:07:44 UTC
[tomcat] branch 9.0.x updated: Fix regression in async Servlet
examples
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 83a4aa7 Fix regression in async Servlet examples
83a4aa7 is described below
commit 83a4aa7695098b158807a85ab8ce48424b9133ae
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Nov 23 14:04:49 2020 +0000
Fix regression in async Servlet examples
---
webapps/docs/changelog.xml | 10 ++++++++++
webapps/examples/WEB-INF/web.xml | 1 +
2 files changed, 11 insertions(+)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 1555f20..398046c 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -113,6 +113,16 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Web applications">
+ <changelog>
+ <fix>
+ Correct a regression in the addition of the HTTP header security filter
+ to the examples web application that prevented the Servlet examples that
+ depend on the asynchronous API from functioning correctly.
+ (kkolinko/markt)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Other">
<changelog>
<update>
diff --git a/webapps/examples/WEB-INF/web.xml b/webapps/examples/WEB-INF/web.xml
index 9e73861..0ad59b1 100644
--- a/webapps/examples/WEB-INF/web.xml
+++ b/webapps/examples/WEB-INF/web.xml
@@ -71,6 +71,7 @@
<filter>
<filter-name>HTTP header security filter</filter-name>
<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
+ <async-supported>true</async-supported>
<init-param>
<param-name>hstsEnabled</param-name>
<param-value>false</param-value>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org