ASF Bugzilla – Attachment 23425 Details for
Bug 46935
Problem with and Patch for Using the Correct Multicast Address in Tomcat 5.5.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for binding the multicast socket to the correct address in 5.5.27
apache-tomcat-5.5.27-multicast-bind.diff (text/plain), 1010 bytes, created by
Oliver Hillmann
on 2009-03-30 04:48:34 UTC
(
hide
)
Description:
Patch for binding the multicast socket to the correct address in 5.5.27
Filename:
MIME Type:
Creator:
Oliver Hillmann
Created:
2009-03-30 04:48:34 UTC
Size:
1010 bytes
patch
obsolete
>diff -u -r apache-tomcat-5.5.27-src.orig/container/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java apache-tomcat-5.5.27-src/container/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java >--- apache-tomcat-5.5.27-src.orig/container/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java 2008-08-29 05:13:58.000000000 +0200 >+++ apache-tomcat-5.5.27-src/container/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java 2008-11-27 01:29:04.905529298 +0100 >@@ -166,7 +166,7 @@ > > protected void setupSocket() throws IOException { > if (mcastBindAddress != null) socket = new MulticastSocket(new java.net. >- InetSocketAddress(mcastBindAddress, port)); >+ InetSocketAddress(address, port)); > else socket = new MulticastSocket(port); > socket.setLoopbackMode(false); //hint that we don't need loop back messages > if (mcastBindAddress != null) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46935
: 23425