• antirez's avatar
    Set a protocol error if master use the inline protocol. · d2eb6e0b
    antirez authored
    We want to react a bit more aggressively if we sense that the master is
    sending us some corrupted stream. By setting the protocol error we both
    ensure that the replica will disconnect, and avoid caching the master so
    that a full SYNC will be required. This is protective against
    replication bugs.
    d2eb6e0b
networking.c 123 KB