Close client connection and log the event when the client input buffer reaches 1GB.

This commit is contained in:
antirez
2011-11-21 16:17:51 +01:00
parent 6621b8ffa1
commit becf5fdb0c
3 changed files with 11 additions and 0 deletions

View File

@ -843,6 +843,7 @@ void initServerConfig() {
server.dbnum = REDIS_DEFAULT_DBNUM;
server.verbosity = REDIS_VERBOSE;
server.maxidletime = REDIS_MAXIDLETIME;
server.client_max_querybuf_len = REDIS_MAX_QUERYBUF_LEN;
server.saveparams = NULL;
server.loading = 0;
server.logfile = NULL; /* NULL = log on standard output */