Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-06 | Try again later for EINTR errors (see issue #99) | Fabien MARTY | |
2012-08-21 | On stack buffer to read replies set to 16k (was 2k). | antirez | |
It was verified experimentally that this value, on Linux kernels, provides better performances compared to the 2k value. However larger values apparently don't produce any noticeable effect on performances. | |||
2012-08-21 | Max depth of multi-bulk reply moved from 2 to 7. | antirez | |
Hiredis can handle multi bulk replies with a fixed (hardcoded) level of nesting. This should be changed in the future in order to avoid hardcoded limits. As a quick fix this commit moves the max nesting from 2 to 7, so that there are no problems when processing replies from the SLOWLOG command, from Redis Sentinel, or generated by Redis Lua Scripts (that are allowed to generate replies with any level of nesting). | |||
2012-08-21 | Configurable reader max idle buffer size. | antirez | |
Hiredis used to free unused redisReader buffers bigger than 16k. Now this limit is configurable (see the documentation updated by this commit) in order to allow working with big payloads without incurring to speed penalty. | |||
2011-12-20 | DRY list of integer formats | Chip Salzenberg | |
2011-12-02 | increase read depth by one, would allow ruby redis client to read from slowlog | mrb | |
2011-11-28 | Fix minor inconsistencies in comment. | John Zwinck | |
2011-07-09 | Abort on invalid format | Pieter Noordhuis | |
There is no way we can guess the width of the argument when we cannot infer its type from the format specifier. | |||
2011-07-09 | Use correct type when calling va_arg in formatter | Pieter Noordhuis | |
2011-06-19 | Revert "Add function to retrieve formatted reply" | Pieter Noordhuis | |
This reverts commit 77540aa31694aa1e14d41f60a0452e49a2fed86a. The change in buffer strategy is too large to put in a minor release. It is put in a separate branch in the meantime, so it can be refined and released together with a minor version bump. | |||
2011-06-09 | Fix for issue #45 | Pieter Noordhuis | |
2011-05-05 | Add function to retrieve formatted reply | Pieter Noordhuis | |
This is done by only truncating the read buffer once a full reply has been read. The buffer is no longer truncated halfway through reading a reply. In addition: pass offset/length of protocol and content via the read tasks. | |||
2011-04-21 | Update license | Pieter Noordhuis | |
2011-04-21 | Let the async API segfault on OOM for now | Pieter Noordhuis | |
2011-04-21 | Move chrtos to hiredis.c (not used elsewhere) | Pieter Noordhuis | |
2011-04-21 | Handle OOM when doing blocking requests | Pieter Noordhuis | |
2011-04-21 | More safety | Pieter Noordhuis | |
2011-04-21 | Make command formatters gracefully abort when out of memory | Pieter Noordhuis | |
2011-04-21 | More OOM checks in the protocol reader | Pieter Noordhuis | |
2011-04-21 | Include fmacros.h to make sure strerror_p is defined on Linux | Pieter Noordhuis | |
2011-04-21 | Rename *ReplyReader* to *Reader* | Pieter Noordhuis | |
2011-04-21 | Use static buffer for error string on context | Pieter Noordhuis | |
2011-04-21 | Create protocol reader when creating context | Pieter Noordhuis | |
2011-04-21 | Reply object functions can be set by the user after creating the reader | Pieter Noordhuis | |
2011-04-21 | Privdata can be set directly on the struct | Pieter Noordhuis | |
2011-04-21 | Remove useless casts | Pieter Noordhuis | |
2011-04-21 | Return when memory cannot be allocated | Pieter Noordhuis | |
2011-04-21 | Remove accessor functions now the redisReader struct is public | Pieter Noordhuis | |
2011-04-21 | Make redisReader struct public | Pieter Noordhuis | |
2011-04-21 | Test if there is a freeObject function | Pieter Noordhuis | |
2011-04-20 | Use pre-allocated buffer for error strings in reader | Pieter Noordhuis | |
2011-04-20 | First pass at making the protocol reader properly handle OOM | Pieter Noordhuis | |
2011-04-03 | Lazily destroy protocol reader buffer | Pieter Noordhuis | |
2011-04-03 | Individual reply object functions may be NULL | Pieter Noordhuis | |
2011-03-06 | Fix formatCommand to work with all empty interpolations | Pieter Noordhuis | |
2011-02-04 | Use select(2) for enforce a timeout on blocking connect(2) | Pieter Noordhuis | |
2011-01-27 | Properly reset state after protocol error in reply reader | Pieter Noordhuis | |
2011-01-27 | redisReplyReaderFeed should take a const char* | Pieter Noordhuis | |
2011-01-27 | Avoid warnings with -Wstrict-prototypes | Pieter Noordhuis | |
2011-01-19 | Let sds.c figure out where the range stops | Pieter Noordhuis | |
2011-01-19 | Discard consumed part of buffer less often | Pieter Noordhuis | |
2011-01-07 | Return error on socket timeout for a blocking context | Pieter Noordhuis | |
2010-12-28 | Add function to explicitly free an async context | Pieter Noordhuis | |
2010-12-16 | Add myself to license in some files | Pieter Noordhuis | |
2010-12-02 | Add (nearly) full printf support by delegating to vsprintf | Pieter Noordhuis | |
2010-12-01 | Wait with setting CONNECTED until there is an fd | Pieter Noordhuis | |
2010-11-26 | Use r->len in another spot | Pieter Noordhuis | |
2010-11-26 | Use custom stroll | Pieter Noordhuis | |
2010-11-26 | Reply objects don't need to be calloc'ed | Pieter Noordhuis | |
2010-11-26 | Use explicit buffer length field in the reply reader | Pieter Noordhuis | |