Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-27 | Bump minor version because reader struct changed | Pieter Noordhuis | |
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. | |||
2012-07-11 | async: support for determining monitor mode, if so, repush replies callback ↵ | Alex Leverington | |
in expectation of another reply. | |||
2011-12-02 | increase read depth by one, would allow ruby redis client to read from slowlog | mrb | |
2011-06-19 | Bump patch version | 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-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-22 | Bump version to 0.10.0 | Pieter Noordhuis | |
2011-04-21 | Update license | Pieter Noordhuis | |
2011-04-21 | Handle OOM when doing blocking requests | Pieter Noordhuis | |
2011-04-21 | More OOM checks in the protocol reader | 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 | Move prototypes around in header | 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 | Remove accessor functions now the redisReader struct is public | Pieter Noordhuis | |
2011-04-21 | Move definitions around | Pieter Noordhuis | |
2011-04-21 | Forward declaration is not necessary | Pieter Noordhuis | |
2011-04-21 | Make redisReader struct public | Pieter Noordhuis | |
2011-04-20 | Use pre-allocated buffer for error strings in reader | Pieter Noordhuis | |
2011-02-04 | Use select(2) for enforce a timeout on blocking connect(2) | 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-07 | Return error on socket timeout for a blocking context | Pieter Noordhuis | |
2010-12-31 | Change reply processing code to prepare for pub/sub | Pieter Noordhuis | |
2010-12-28 | Fix the async free() and disconnect() functions | Pieter Noordhuis | |
To make sure that these functions can also be called from functions other than command callbacks, the flag IN_CALLBACK is introduced that holds whether the context is currently executing a callback. If so, redisAsyncFree() and redisAsyncDisconnect() should delegate their task to the reply processor to avoid segfaults. | |||
2010-12-28 | Add function to explicitly free an async context | Pieter Noordhuis | |
2010-12-16 | Bump version | Pieter Noordhuis | |
2010-12-16 | Add myself to license in some files | Pieter Noordhuis | |
2010-12-16 | Redefine REDIS_REPLY_ERROR to be non-zero | Pieter Noordhuis | |
When no reply object functions are defined, the reply type integer is returned from redisGetReply(). This sets the *reply argument to the consumed reply, where 0 means that it was not possible to consume a full reply. With REDIS_REPLY_ERROR having the same value, there is no way to tell the difference between an error reply and not consuming a reply. | |||
2010-11-26 | Bump version | Pieter Noordhuis | |
2010-11-26 | Rename 'parent' field in read tasks to 'obj' | Pieter Noordhuis | |
2010-11-24 | Add pointer to parent task in read tasks | Pieter Noordhuis | |
2010-11-24 | Add privdata field to reply reader | Pieter Noordhuis | |
This field is set in the read tasks that are passed to the reply object functions. This allows to curry arbitrary data to these functions. | |||
2010-11-19 | add extern "C" for C++ compiles | Ryan Tecco | |
2010-11-04 | The buffer length to feed should be a size_t | Pieter Noordhuis | |
2010-11-04 | Return the reply type when the reply object function set is NULL | Pieter Noordhuis | |
2010-11-03 | Add version information to hiredis.h | Pieter Noordhuis | |
2010-11-03 | Allow to connect using a unix socket from hiredis | Pieter Noordhuis | |
2010-11-03 | Expose redisGetReplyFromReader as public API | Pieter Noordhuis | |
2010-11-02 | Strip net.c down to the bare minimum | Pieter Noordhuis | |
2010-11-02 | Change error reporting to have an explicit type | Pieter Noordhuis | |
When there is an I/O error, errno should be used to find out what is wrong. In other cases, errno cannot be used. So, use an explicit type in Hiredis to define the different error scenarios that can occur. | |||
2010-11-02 | Remove superfluous definition | Pieter Noordhuis | |
2010-11-01 | There is no longer need for a separate redisDisconnect | Pieter Noordhuis | |
2010-11-01 | Strip non-blocking callbacks from hiredis.c | Pieter Noordhuis | |
2010-11-01 | Add support to lazily disconnect an asynchronous connection | Pieter Noordhuis | |