Add note about multi bulk nesting limit (fixes #143)

This commit is contained in:
Pieter Noordhuis 2013-07-10 22:39:31 -07:00
parent f9ce2111bb
commit afc462d35d

View File

@ -339,6 +339,9 @@ and a reply object (as described above) via `void **reply`. The returned status
can be either `REDIS_OK` or `REDIS_ERR`, where the latter means something went can be either `REDIS_OK` or `REDIS_ERR`, where the latter means something went
wrong (either a protocol error, or an out of memory error). wrong (either a protocol error, or an out of memory error).
The parser limits the level of nesting for multi bulk payloads to 7. If the
multi bulk nesting level is higher than this, the parser returns an error.
### Customizing replies ### Customizing replies
The function `redisReaderGetReply` creates `redisReply` and makes the function The function `redisReaderGetReply` creates `redisReply` and makes the function