Commit Graph

49 Commits

Author SHA1 Message Date
Jeremy Cohen 308ffcab8d Updating SSL connection example 2020-10-27 19:40:13 +00:00
michael-grunder d5b4c69b71 Prepare for v1.0.0 GA 2020-08-03 11:18:07 -07:00
michael-grunder a853467542 Update notes preparing for v1.0.0-rc1 2020-07-29 13:39:28 -07:00
Michael Grunder 5a3c324138
Remove erroneous tag and add license to push example (#849) 2020-07-19 21:47:28 -07:00
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
michael-grunder ffd6eaebd6 Merge branch 'master' into new-ssl-api 2020-05-30 09:30:01 -07:00
Michael Grunder e553e0f382
Document allocator injection and completeness fix in test.c (#824) 2020-05-26 10:06:28 -07:00
Yossi Gottlieb 190bca88d0 New SSL API to replace redisSecureConnection(). 2020-05-24 23:37:47 +03:00
Michael Grunder 8e0264cfd6
Allow users to replace allocator and handle OOM everywhere. (#800)
* Adds an indirection to every allocation/deallocation to allow users to 
  plug in ones of their choosing (use custom functions, jemalloc, etc).

* Gracefully handle OOM everywhere in hiredis.  This should make it possible
  for users of the library to have more flexibility in how they handle such situations.

* Changes `redisReaderTask->elements` from an `int` to a `long long` to prevent
  a possible overflow when transferring the task elements into a `redisReply`.

* Adds a configurable `max elements` member to `redisReader` that defaults to
  2^32 - 1.  This can be set to "unlimited" by setting the value to zero.
2020-05-22 09:27:49 -07:00
Michael Grunder a6a824cb65
Add link to ABI tracker (#808)
Addresses #506
2020-05-16 12:15:26 -07:00
Michael Grunder 38675d23cc
Housekeeping fixes (#764)
Housekeeping

* Check for C++ (#758, #750) 
* Include `alloc.h` in `make install` and `cmake`
* Add a `.def` file for Windows (#760)
* Include allocation wrappers referenced in adapter headers
* Fix minor syntax errors and typos in README
* Fix CI in Windows by properly escaping arguments (#761)
2020-02-27 21:29:05 -08:00
michael-grunder e777b0295e Use correct flag in README.md 2019-10-10 15:46:33 -07:00
Yossi Gottlieb c5726ba5f7 Update README with SSL support. 2019-10-07 13:23:59 +03:00
Mark Nunberg 5d013039a9
Merge pull request #621 from Crunsher/master
Update README.md
2019-08-09 03:54:24 -04:00
Odin Hultgren Van Der Horst a1d4da63b8 Removed whitespace before newline
- Removed whitespace before newline
 - Removed win style newline
2019-07-22 11:06:10 +02:00
Jean Flach 9ff1cc7826 Update README.md
Add note about using context->data to pass user data to connect and disconnect callbacks
2018-10-26 15:57:23 +02:00
not-a-robot 81e8176bac Auto merge of #417 - redis:thread-safety, r=badboy
docs: Note about thread-safety
2016-04-20 18:31:34 +02:00
Jan-Erik Rediger b2213b7643 docs: Note about thread-safety 2016-04-20 17:49:20 +02:00
Jan-Erik Rediger dba8e32f3e docs: Add changelog for upcoming version and note about status of README
[ci-skip]
2016-04-20 17:01:17 +02:00
Jan-Erik Rediger 1b8ed38843 docs: Handle NULL in example
Closes #361
2016-03-26 01:02:48 +01:00
Jan-Erik Rediger 4b30b5812d Add current maintainer to README 2015-04-16 21:29:47 +02:00
Chris Williams 865a3683a3 Fix README typos
Closes #267
2015-01-05 11:21:38 -05:00
Mohnish Thallavajhula abbd340785 Fix README typo
Closes #285
2015-01-05 11:21:38 -05:00
Ryan Jacobs a1f6ce0194 Add syntax highlighting to README.md
Closes #293
2015-01-05 09:32:03 -05:00
Wolfgang Richter 37a840dc2c Emphasize size_t length for %b formatting
Closes #121.
2013-07-10 23:05:39 -07:00
Pieter Noordhuis afc462d35d Add note about multi bulk nesting limit (fixes #143) 2013-07-10 22:39:31 -07:00
Pieter Noordhuis ca64a41edb Add Travis badge to README 2013-01-26 11:32:45 -08:00
Henri Doreau 814be4f5bd Made connect functions return NULL on alloc failures.
Updated documentation and examples accordingly.
2013-01-22 10:19:46 +01:00
antirez 7f095053c6 Configurable reader max idle buffer size.
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-21 15:01:47 +02:00
Erik Dubbelboer bd2501078e Fixed typo in README 2012-04-07 15:07:40 +02:00
Pieter Noordhuis 857b2690af Update README with actual async callback behavior
See issue #79, thanks to @ewencp.
2012-02-06 11:08:39 -08:00
Pieter Noordhuis 875a209399 Add note about freeReplyObject and the asynchronous API 2011-05-22 15:15:18 +02:00
Pieter Noordhuis e8460b5ff3 Reformat and add some details 2011-04-21 23:50:26 +02:00
Arvind Laxminarayan 8bc96ea0e3 Updated README with details about reply parsing API 2011-04-13 04:04:58 +05:30
Elnatan bf544ce81c Typo fix 2011-02-14 09:09:49 -05:00
Pierre Riteau 7adfef1680 Correct the description of the pipeline example 2011-01-14 11:17:39 +01:00
Pieter Noordhuis e24023a46a Add section on errors to readme 2010-11-26 15:14:51 +01:00
Pieter Noordhuis 808e43e161 Update README with new way of handling errors 2010-11-22 18:03:35 +01:00
Pieter Noordhuis e5a8228946 More style 2010-11-03 12:02:10 +01:00
Pieter Noordhuis cdd026ac79 Style 2010-11-03 12:01:08 +01:00
Pieter Noordhuis f023f9cfd5 Upgrade notice in README 2010-11-03 12:00:17 +01:00
Pieter Noordhuis c7ab28d2d0 README style 2010-11-03 01:04:20 +01:00
Pieter Noordhuis 5fa8d30599 There is no longer need for a separate redisDisconnect 2010-11-01 14:20:51 +01:00
Pieter Noordhuis 51dd2616f8 Reply parsing docs need to be done 2010-11-01 13:52:26 +01:00
Pieter Noordhuis b3a9d6152f Add docs for the asynchronous API 2010-11-01 13:42:16 +01:00
Pieter Noordhuis 4b530833c6 Add comment on return value of redisGetReply 2010-11-01 13:01:42 +01:00
Pieter Noordhuis 728de4a695 Add sections on redisCommandArgv and pipelining to README 2010-11-01 12:46:22 +01:00
Pieter Noordhuis ec01a80d39 Update README 2010-11-01 12:18:35 +01:00
Pieter Noordhuis 8b8b7afef2 Change README to Markdown 2010-10-12 00:31:09 +02:00