Project: Tomcat
Bug 45279 McastServiceImpl leaks sockets.
Reported: 2008-06-25 12:21:15 | Status: resolved fixed

McastServiceImpl does not close its socket in stop() as it claims. It merely calls leaveGroup(), which is sufficient to stop receiving messages, but does not close the socket. This causes a file descriptor leak each time the service is stopped. add; socket.close(); after leaveGroup();

Files changed in fix:
java/org/apache/catalina/tribes/membership/McastServiceImpl.java