antirez ef99e146a8 Undo slave-master handshake when SLAVEOF sets a new slave.
Issue #828 shows how Redis was not correctly undoing a non-blocking
connection attempt with the previous master when the master was set to a
new address using the SLAVEOF command.

This was also a result of lack of refactoring, so now there is a
function to cancel the non blocking handshake with the master.
The new function is now used when SLAVEOF NO ONE is called or when
SLAVEOF is used to set the master to a different address.
2013-01-15 13:33:24 +01:00
..
2012-04-13 17:52:33 -07:00
2013-01-11 23:50:32 +01:00
2012-03-30 21:19:51 +02:00
2011-03-09 15:44:21 +01:00
2011-07-06 15:22:00 +02:00
2012-04-10 16:34:33 +02:00