basho/riak-java-client — pull request #351 by broach (2014-01-08 21:18:43+00:00)
Title: receive_code() now reads error message off wire.

4 year old bug finally triggered. If an operation that used
receive_code(int) (e.g. a delete operation) received a
RpbErrorResp from riak, it would not read it from the wire and
the connection would ultimately get reused causing a failure.

Fixes #350