Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix first bug found by McErlang, I think.
Sequence with client c1 and server s1:: 1. Client c1 sets up a watch but times out. * Server s1's reply is dropped. 2. Client c1's watch request times out 3. Client c1 starts a counter_op and gets as far as `client_ph2_waiting`. 4. Server s1's response is dropped. * Client c1 is still waiting for a `{ph2_ok,...}` message 5. Server s1 times out waiting for c1's `{watch_notifies_delivered,...}` message. 6. Server s1 sends a `{watch_notify_maybe_req,...}` message to c1. 7. Client c1 isn't expecting a `{watch_notify_maybe_req,...}` message and therefore never replies. 8. Server s1 times out waiting for `{watch_notify_maybe_resp,...}` from client c1. Goto step #6, looping forever.
- Loading branch information