]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
Protections against protocol desyncs, leading to infinite query buffer growing, due...
[redis.git] / src / redis.h
index 1ad62400a2ec2684fe23b66781e00cc490d21d25..f3b3134e0042fb1528b29fd83700d09d5bb690b3 100644 (file)
@@ -60,6 +60,7 @@
 #define REDIS_MAX_QUERYBUF_LEN  (1024*1024*1024) /* 1GB max query buffer. */
 #define REDIS_IOBUF_LEN         (1024*16)  /* Generic I/O buffer size */
 #define REDIS_REPLY_CHUNK_BYTES (16*1024) /* 16k output buffer */
+#define REDIS_INLINE_MAX_SIZE   (1024*64) /* Max size of inline reads */
 #define REDIS_MBULK_BIG_ARG     (1024*32)
 
 /* Hash table parameters */