Commit Graph

10 Commits

Author SHA1 Message Date
Michael Grunder
2e7d7cbabd
Resp3 oob push support (#841)
Proper support for RESP3 PUSH messages.

By default, PUSH messages are now intercepted and the reply memory freed.  
This means existing code should work unchanged when connecting to Redis
>= 6.0.0 even if `CLIENT TRACKING` were then enabled.

Additionally, we define two callbacks users can configure if they wish to handle
these messages in a custom way:

void redisPushFn(void *privdata, void *reply);
void redisAsyncPushFn(redisAsyncContext *ac, void *reply);

See #825
2020-07-19 18:54:42 -07:00
Mark Nunberg
3511c8df68 gitignore: dSYM 2019-02-20 09:11:10 -05:00
Matt Stancliff
1d2b4d38db Generate pkgconf during build
The pkgconf source is localized to the Makefile, so we're not dropping
an unnecessary "hiredis.pc.in" in the source directory.

Closes #129
Closes #136
2015-01-05 16:53:23 -05:00
Aaron Bedra
c552ca6904 Move examples into their own folder
Closes #166.
2013-07-10 22:16:53 -07:00
Pieter Noordhuis
9323030527 Update .gitignore 2010-11-01 13:52:44 +01:00
Pieter Noordhuis
e245ab48ec Added header file and example for usage from libev 2010-10-19 21:24:24 +02:00
Pieter Noordhuis
5a38356cc4 Add example for non-blocking usage of hiredis with libevent 2010-09-25 22:34:22 +02:00
Pieter Noordhuis
510bbf1721 Make target for building static library 2010-09-21 14:05:22 +02:00
Mina Naguib
857c9212d3 Build a shared library 2010-06-03 11:33:54 -04:00
antirez
df0f2a3aed documentation 2010-05-18 18:49:16 +02:00