This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 987be34 Fix regression in async Servlet examples 987be34 is described below commit 987be341885e50906d956cf369138b72c05ccf9b 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 443c857..591adbe 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> <add> diff --git a/webapps/examples/WEB-INF/web.xml b/webapps/examples/WEB-INF/web.xml index f294e2b..1a823a5 100644 --- a/webapps/examples/WEB-INF/web.xml +++ b/webapps/examples/WEB-INF/web.xml @@ -84,6 +84,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