This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new e35e4c0  Fix regression in async Servlet examples
e35e4c0 is described below

commit e35e4c0ef1045d755902a2406216b8ee46e31e0f
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 e505878..9ed811a 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -119,6 +119,16 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 7.0.108 (violetagg)" rtext="in development">
+  <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>
       <add>
diff --git a/webapps/examples/WEB-INF/web.xml b/webapps/examples/WEB-INF/web.xml
index 07f7590..669e85d 100644
--- a/webapps/examples/WEB-INF/web.xml
+++ b/webapps/examples/WEB-INF/web.xml
@@ -83,6 +83,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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to