This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 665fd2b144 Fix back-port
665fd2b144 is described below
commit 665fd2b144db9b23eb2425221076d838becd1055
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 25 23:24:56 2026 +0100
Fix back-port
---
test/org/apache/catalina/tribes/TesterUtil.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/tribes/TesterUtil.java
b/test/org/apache/catalina/tribes/TesterUtil.java
index 78458cbd74..6d20027a75 100644
--- a/test/org/apache/catalina/tribes/TesterUtil.java
+++ b/test/org/apache/catalina/tribes/TesterUtil.java
@@ -67,7 +67,8 @@ public class TesterUtil {
// Bind to an ephemeral port (not the McastService default) so this
probe
// never clashes with a running membership service on the same host.
try (MulticastSocket socket = new MulticastSocket(0)) {
- // Loopback must be enabled for the probe to receive its own
packet.
+ // Loop-back must be enabled for the probe to receive its own
packet (the parameter is "disable").
+ socket.setLoopbackMode(false);
socket.setOption(StandardSocketOptions.IP_MULTICAST_LOOP,
Boolean.TRUE);
socket.setSoTimeout(1000);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]