Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<Context crossContext="true" resourceOnlyServlets="jsp">
   <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" forwardSlashIsSeparator="false" />
     ...

</Context>

server.xml

<Connector ... allowedTrailerHeaders="myTrailer, myTrailer2" >
    <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />

...

  • -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
  • -Dorg.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR=false
  • -Duser.language=en
  • -Duser.country=US

context.xml

...

<Context crossContext="true" resourceOnlyServlets="jsp">
  <CookieProcessor className="org.apache.tomcat.util.http.LegacyCookieProcessor" alwaysAddExpires="true" forwardSlashIsSeparator="false" />

    ...

</Context>

tomcat-users.xml

Make the following changes:

...

A default 10.0.x build (as of 2020-06-1718) with the above configuration and the nightly TCK built from source (as of yyyy2020-mm06-dd18) triggers 75 58 test failures

1 TCK bugbugs

  • PR 338
    • Incorrect major version
    • (1 failure),
    • Using LF rather an CRLF (15 failures)

42 74 failures suspected to be related to incomplete configuration