This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 8416ad0c4daa5294274890eab6907f726ff8d06f Author: Mark Thomas <[email protected]> AuthorDate: Tue Dec 1 12:03:10 2026 +0000 Correct the documentation of the secure and multicast send options The secure and multicast message send options were documented as not implemented. Both are. Secure sends the message using TLS and multicast sends it as a UDP datagram to the membership multicast address. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --- webapps/docs/changelog.xml | 5 +++++ webapps/docs/config/cluster-manager.xml | 15 +++++++++++++-- webapps/docs/config/cluster-valve.xml | 15 +++++++++++++-- webapps/docs/config/cluster.xml | 15 +++++++++++++-- 4 files changed, 44 insertions(+), 6 deletions(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 275dff19c0..a72249cda7 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -464,6 +464,11 @@ configuration and security considerations. Based on pull request <pr>1134</pr> by sainadh777. (markt) </docs> + <docs> + Correct the documentation of the <code>secure</code> and + <code>multicast</code> message send options for clusters. Both are + implemented. (markt) + </docs> <fix> Improve reporting of faulty members when sending of cluster messages fails. (markt) diff --git a/webapps/docs/config/cluster-manager.xml b/webapps/docs/config/cluster-manager.xml index ea7681d038..9a563e872b 100644 --- a/webapps/docs/config/cluster-manager.xml +++ b/webapps/docs/config/cluster-manager.xml @@ -244,11 +244,22 @@ processed by the receiving node in a different order to the order in which they were sent.</dd> <dt><code>secure</code> or <code>16</code></dt> - <dd>Not implemented. Has no effect if used.</dd> + <dd>The message will be sent using TLS. Both <code>pskIdentity</code> + and <code>pskKey</code> must be configured on the channel and the + message is not sent if TLS is unavailable. This option can not be + used with <code>udp</code> or <code>multicast</code>. If the + <code>secure</code> attribute of the channel is <code>true</code>, + this option is added to every message.</dd> <dt><code>udp</code> or <code>32</code></dt> <dd>The message will be sent using UDP instead of TCP.</dd> <dt><code>multicast</code> or <code>64</code></dt> - <dd>Not implemented. Messages will not be sent if used.</dd> + <dd>The message will be sent as a UDP datagram to the multicast + address used by the membership service rather than to each member + individually. Delivery is not guaranteed and the message is + neither authenticated nor encrypted. This option can not be used + with <code>secure</code> and a channel with the + <code>secure</code> attribute set to <code>true</code> does not + accept messages sent this way.</dd> </dl> <p>The default value is <code>6</code> (<code>use_ack</code> with <code>sync</code>).</p> diff --git a/webapps/docs/config/cluster-valve.xml b/webapps/docs/config/cluster-valve.xml index 7ab3612b27..81b970f938 100644 --- a/webapps/docs/config/cluster-valve.xml +++ b/webapps/docs/config/cluster-valve.xml @@ -160,11 +160,22 @@ processed by the receiving node in a different order to the order in which they were sent.</dd> <dt><code>secure</code> or <code>16</code></dt> - <dd>Not implemented. Has no effect if used.</dd> + <dd>The message will be sent using TLS. Both <code>pskIdentity</code> + and <code>pskKey</code> must be configured on the channel and the + message is not sent if TLS is unavailable. This option can not be + used with <code>udp</code> or <code>multicast</code>. If the + <code>secure</code> attribute of the channel is <code>true</code>, + this option is added to every message.</dd> <dt><code>udp</code> or <code>32</code></dt> <dd>The message will be sent using UDP instead of TCP.</dd> <dt><code>multicast</code> or <code>64</code></dt> - <dd>Not implemented. Messages will not be sent if used.</dd> + <dd>The message will be sent as a UDP datagram to the multicast + address used by the membership service rather than to each member + individually. Delivery is not guaranteed and the message is + neither authenticated nor encrypted. This option can not be used + with <code>secure</code> and a channel with the + <code>secure</code> attribute set to <code>true</code> does not + accept messages sent this way.</dd> </dl> <p>The default value is <code>6</code> (<code>use_ack</code> with <code>sync</code>).</p> diff --git a/webapps/docs/config/cluster.xml b/webapps/docs/config/cluster.xml index 0373c753fa..8c2f73a006 100644 --- a/webapps/docs/config/cluster.xml +++ b/webapps/docs/config/cluster.xml @@ -171,11 +171,22 @@ processed by the receiving node in a different order to the order in which they were sent.</dd> <dt><code>secure</code> or <code>16</code></dt> - <dd>Not implemented. Has no effect if used.</dd> + <dd>The message will be sent using TLS. Both <code>pskIdentity</code> + and <code>pskKey</code> must be configured on the channel and the + message is not sent if TLS is unavailable. This option can not be + used with <code>udp</code> or <code>multicast</code>. If the + <code>secure</code> attribute of the channel is <code>true</code>, + this option is added to every message.</dd> <dt><code>udp</code> or <code>32</code></dt> <dd>The message will be sent using UDP instead of TCP.</dd> <dt><code>multicast</code> or <code>64</code></dt> - <dd>Not implemented. Messages will not be sent if used.</dd> + <dd>The message will be sent as a UDP datagram to the multicast + address used by the membership service rather than to each member + individually. Delivery is not guaranteed and the message is + neither authenticated nor encrypted. This option can not be used + with <code>secure</code> and a channel with the + <code>secure</code> attribute set to <code>true</code> does not + accept messages sent this way.</dd> </dl> <p>The default value is <code>8</code> (<code>async</code>).</p> </attribute> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
