• antirez's avatar
    Centralize slave replication handshake aborting. · acc2336f
    antirez authored
    Now we have a single function to call in any state of the slave
    handshake, instead of using different functions for different states
    which is error prone. Change performed in the context of issue #2479 but
    does not fix it, since should be functionally identical to the past.
    Just an attempt to make replication.c simpler to follow.
    acc2336f
replication.c 92.2 KB