basho/riak-java-client — pull request #121 by broach (2012-03-29 17:17:50+00:00)
Title: When an IOException happens on a read from a Socket's InputStream or a w...

When an IOException happens on a read from a Socket's InputStream or a write to it's OutputStream the Socket object is not automatically set to closed.

This fix makes it so we explicitly call Socket.close() when an IOException occurs.
This commit fixes #120