caozb 63075b81e6 ignore slaveof no one in redis.conf (#7842)
when slaveof config is "no one", reset any pre-existing config and resume.

also solve a memory leak if slaveof appears twice.
and fail loading if port number is out of range or not an integer.

Co-authored-by: caozhengbin <caozb@yidingyun.com>
Co-authored-by: Oran Agra <oran@redislabs.com>
(cherry picked from commit a295770e32b4bd71ff560c5ec7bc5c0ad12bf068)
2020-10-27 09:12:01 +02:00
..
2019-11-20 20:39:04 -05:00
2020-05-08 10:37:35 +02:00
2020-04-28 11:20:15 +02:00
2020-04-28 11:20:15 +02:00
2020-04-28 11:20:15 +02:00
2020-10-27 09:12:01 +02:00
2018-07-03 18:19:46 +02:00
2019-02-24 21:38:15 +01:00
2020-09-10 14:09:00 +03:00
2019-10-24 14:24:55 +03:00
2020-05-08 10:37:36 +02:00
2019-11-19 17:23:47 +08:00
2020-04-07 16:52:04 +02:00
2018-07-03 18:19:46 +02:00
2019-10-02 11:30:20 +02:00
2020-03-05 12:51:15 +01:00
2020-05-15 22:23:24 +02:00
2018-11-11 18:49:55 +00:00
2020-09-01 09:27:58 +03:00
2020-09-10 14:09:00 +03:00