basho/riak_cs — pull request #806 by evanmcc (2014-02-11 17:03:04+00:00)
Title: Add timeouts to ensure that the list_objects FSM eventually stops. -- 1.4

Since this FSM has no timeout and the remote index FSM has no timeout
by default, we can get stuck with both FSMs partially completed and
holding on to a lot of memory.

This fix adds a timeout to the remote FSM so it should terminate in a
timely fashion, but adds a timeout to the connection request, just in
case the other end stops talking to us for some reason.