This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new 0b5d5c9 Fix regression in async Servlet examples 0b5d5c9 is described below commit 0b5d5c91bafd3f61938917490ab531474dbb778a 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 3ad87f3..2251111 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 fcb4625..2686d54 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org