lookfirst/jmxtrans — pull request #39 by mingbowan (2012-08-23 04:08:54+00:00)
Title: make socket dead detection work

socket.setKeepAlive(true) won't work here.
the fix is ugly but that's the best I can find.
The fix is tested, when use with graphitewrite, it will provide re-connect function if graphite Carbon-Cache daemon restart