This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 1425555184 Note ordering requirements for Semaphore, Persistence and
Rewrite
1425555184 is described below
commit 14255551848a1c446606e2bae307d09a98c53829
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 27 16:52:17 2026 +0000
Note ordering requirements for Semaphore, Persistence and Rewrite
---
webapps/docs/changelog.xml | 9 +++++++++
webapps/docs/config/valve.xml | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 251899c7dd..5d187f195e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -441,6 +441,15 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Web applications">
+ <changelog>
+ <add>
+ Document the ordering requirements for the
+ <strong>SemaphoreValve</strong> and the
<strong>PersistentValve</strong>
+ when used with the <strong>RewriteValve</strong>. (markt)
+ </add>
+ </changelog>
+ </subsection>
<subsection name="Tribes">
<changelog>
<docs>
diff --git a/webapps/docs/config/valve.xml b/webapps/docs/config/valve.xml
index 5806faf538..09c19016f3 100644
--- a/webapps/docs/config/valve.xml
+++ b/webapps/docs/config/valve.xml
@@ -2751,6 +2751,10 @@ RequestHeader unset SSL_CLIENT_ESCAPED_CERT</source>
<li><b><code>permitDenied</code></b> may be overridden to add error
handling
when a permit isn't granted.</li>
</ul>
+ <p>If configured with the <strong>RewriteValve</strong>, it is recommended
+ that the <strong>RewriteValve</strong> is configured before the
+ <strong>SemaphoreValve</strong> to avoid issues with re-written requests
+ consuming an additional permit per rewrite.</p>
</subsection>
@@ -2845,6 +2849,11 @@ RequestHeader unset SSL_CLIENT_ESCAPED_CERT</source>
<p>The <strong>PersistentValve</strong> that implements per-request session
persistence. It is intended to be used with non-sticky load-balancers.</p>
+ <p>If configured with the <strong>RewriteValve</strong>, it is recommended
+ that the <strong>RewriteValve</strong> is configured before the
+ <strong>PersistentValve</strong> to avoid issues with re-written requests
+ consuming an additional permit per rewrite.</p>
+
</subsection>
<subsection name="Attributes">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]