Binding multiple IPs done properly with multiple sockets.

This commit is contained in:
antirez
2013-07-05 11:47:20 +02:00
parent 2160effc78
commit 98eecb70eb
5 changed files with 79 additions and 31 deletions

View File

@ -729,8 +729,7 @@ int rdbSaveBackground(char *filename) {
int retval;
/* Child */
if (server.ipfd > 0) close(server.ipfd);
if (server.sofd > 0) close(server.sofd);
closeListeningSockets(0);
redisSetProcTitle("redis-rdb-bgsave");
retval = rdbSave(filename);
if (retval == REDIS_OK) {