verdi-raft
verdi-raft copied to clipboard
Server assumes that it can read the entire client request with a single recv call
From @pfons on April 13, 2016 2:31
If the server is not able to read with one call the entire client request, which is sent over TCP, the server wrongly presumes that the client is disconnected and throws an exception (function read_from_socket in file Shim.ml).
The problem can be usually reproduced by simply sending the requests using two send calls on the client side.
Copied from original issue: uwplse/verdi#41