summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-30Make KeepAlive optionalAllen.Dou
Make Connection KeepAlive being optional instead of default.
2013-04-19SetKeepAliveAllen.Dou
Keep client alive even though no command was sent to server for a long time.
2013-04-10Merge pull request #156 from abedra/masterPieter Noordhuis
Set error on invalid timval values for redisConnectWithTimeout (Fixes #154)
2013-03-14Set error when invalid timeout value is given to redisConnectWithTimeoutAaron Bedra
Closes #154 This commit properly sets the error value inside of redisContextWaitReady when an invalid sec or usec value is provided. Tests for each case are provided to demonstrate that the issue is properly fixed and to avoid regression. Signed-off-by: Aaron Bedra <aaron@aaronbedra.com>
2013-03-14Update CHANGELOG.mdPieter Noordhuis
2013-01-26Merge pull request #149 from redis/travis-testPieter Noordhuis
Setup Travis
2013-01-26Add Travis badge to READMEPieter Noordhuis
2013-01-26Add Travis configurationPieter Noordhuis
2013-01-26Merge pull request #147 from hdoreau/d7e3268f48b457cb52336d264f8860b336faea9fPieter Noordhuis
Prevent hiredis from crashing on memory allocation failure
2013-01-26Merge pull request #119 from thefab/fix99Pieter Noordhuis
Try again later for EINTR errors (see issue #99)
2013-01-22Prevent AsyncConnect from crashing on memory allocation failures.Henri Doreau
2013-01-22Made connect functions return NULL on alloc failures.Henri Doreau
Updated documentation and examples accordingly.
2012-11-06Try again later for EINTR errors (see issue #99)Fabien MARTY
2012-10-25Merge pull request #128 from clongeau/masterPieter Noordhuis
make redisConnectWithTimeout connect to 127.0.0.1 instead of 127.0.0.2
2012-10-25make redisConnectWithTimeout connect to 127.0.0.1 instead of 127.0.0.2Charles Longeau
2012-08-27Bump minor version because reader struct changedPieter Noordhuis
2012-08-27Mention changes in CHANGELOGPieter Noordhuis
2012-08-27Test new maximum depth of multi-bulk repliesPieter Noordhuis
2012-08-21On 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-21Max 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-21Configurable 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-08-21Add ARCH to Makefile CFLAGS / LDFLAGS.antirez
This makes builiding with an optional 32 bit target simpler. For instance Redis (that contains an embedded copy of hiredis) when compiled with "make 32bit" uses to pass an ARCH parameter to force an hiredis 32 bit build.
2012-07-31Spontaneous error reply can always happenPieter Noordhuis
2012-07-11Merge pull request #101 from ErikDubbelboer/spellingPieter Noordhuis
Fixed typo in README
2012-07-11Merge pull request #112 from nessence/masterPieter Noordhuis
MONITOR causes assertion failure, async.c, line 398.
2012-07-11async: support for determining monitor mode, if so, repush replies callback ↵Alex Leverington
in expectation of another reply.
2012-04-18Use poll() instead of select() inside redisContextWaitReady()Mark Ellzey
The current select() is limiting in instances where the fd num is > FD_SETSIZE. Since redisContextWaitReady() only processes a single fd, select would still fail. For compatibility reasons I have converted select() over to poll(), eliminating this problem.
2012-04-07Fixed typo in READMEErik Dubbelboer
2012-02-06Update README with actual async callback behaviorPieter Noordhuis
See issue #79, thanks to @ewencp.
2011-12-20Merge pull request #72 from chipdude/masterPieter Noordhuis
Fix self-test of connect error on Linux; merge duplicated string (DRY)
2011-12-20DRY list of integer formatsChip Salzenberg
2011-12-20more error messagesChip Salzenberg
2011-12-02Merge pull request #70 from mrb/increase_read_depthPieter Noordhuis
Increase read depth by one, would allow ruby redis client to read from slowlog
2011-12-02increase read depth by one, would allow ruby redis client to read from slowlogmrb
2011-11-28Merge pull request #67 from jzwinck/masterPieter Noordhuis
A small fix for outdated/typo'd comments in hiredis.c
2011-11-28Fix minor inconsistencies in comment.John Zwinck
2011-07-20Merge pull request #47 from geoffgarside/addrinfoPieter Noordhuis
Use getaddrinfo
2011-07-11Merge pull request #54 from rtyler/puPieter Noordhuis
Include stdlib.h in async.c for free(3), realloc(3) and strtol(3) support
2011-07-10Include stdlib.h in async.c for free(3), realloc(3) and strtol(3) supportR. Tyler Croy
2011-07-10Put back missing socket error check after select(2)Pieter Noordhuis
2011-07-10Colorize test outcomePieter Noordhuis
2011-07-10Merge branch 'printf-width'Pieter Noordhuis
2011-07-10Test all supported types for printf-like formattingPieter Noordhuis
2011-07-09Abort on invalid formatPieter 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-09Use correct type when calling va_arg in formatterPieter Noordhuis
2011-07-09Update printf-formatting tests to failPieter Noordhuis
2011-07-04Merge pull request #51 from rtyler/masterPieter Noordhuis
Minor fixes to the libev.h and other async adapters
2011-06-27Update examplesPieter Noordhuis
2011-06-27Change prototype of connect callbackPieter Noordhuis
This commit adds a status argument to the connect callback. It will be called in the event of an unsuccessful connection as well, where the status argument is set to REDIS_ERR. It is set to REDIS_OK otherwise.
2011-06-27Extract function to check a socket for errorsPieter Noordhuis