TCPGOSSIP: socket leaks on disconnect
-------------------------------------
Key: JGRP-1120
URL:
https://jira.jboss.org/jira/browse/JGRP-1120
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.6.14, 2.8.1, 2.9
On disconnect, TCPGOSSIP does not close the the socket to the GossipRouter
(RouterStub.destroy()). On connect, however, we create a *new* connection.
On multiple connects and disconnects, we leak sockets (netstat -an|grep 12001 shows a lot
of ESTABLISHED sockets).
Simple fix: call RouterStub.destroy() on disconnect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira