summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-06-27Use macro's for event loop hooksPieter Noordhuis
2011-06-27Convert the rest of the async adapters contain static functions for easier ↵R. Tyler Croy
linking
2011-06-27Make libev adapter functions static to fix linkingR. Tyler Croy
This will allow two different compilation units to include libev.h and link together
2011-06-27Add implied include of stdlib.hR. Tyler Croy
2011-06-19Bump patch versionPieter Noordhuis
2011-06-19Add changelogPieter Noordhuis
2011-06-19Revert "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-19Fix gprof targetPieter Noordhuis
2011-06-19Coverage reportPieter Noordhuis
2011-06-19Use CFLAGS and LDFLAGS instead of custom variablesPieter Noordhuis
2011-06-19Append to REAL_LDFLAGS so LDFLAGS can be overridden by the userPieter Noordhuis
2011-06-19Pass LDFLAGS to linker when creating dynamic libraryPieter Noordhuis