mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 21:41:32 +00:00
Change initialization to allow listening on both a port and socket
This commit is contained in:
@ -329,7 +329,10 @@ struct sharedObjectsStruct {
|
||||
struct redisServer {
|
||||
pthread_t mainthread;
|
||||
int port;
|
||||
int fd;
|
||||
char *bindaddr;
|
||||
char *sockpath;
|
||||
int ipfd;
|
||||
int sofd;
|
||||
redisDb *db;
|
||||
long long dirty; /* changes to DB from the last save */
|
||||
list *clients;
|
||||
@ -365,7 +368,6 @@ struct redisServer {
|
||||
struct saveparam *saveparams;
|
||||
int saveparamslen;
|
||||
char *logfile;
|
||||
char *bindaddr;
|
||||
char *dbfilename;
|
||||
char *appendfilename;
|
||||
char *requirepass;
|
||||
|
Reference in New Issue
Block a user