./databases/hiredis, Minimalistic C client library for the Redis database

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.1, Package name: hiredis-0.14.1, Maintainer: wiedi

Hiredis is a minimalistic C client library for the Redis database.

It is minimalistic because it just adds minimal support for the
protocol, but at the same time it uses an high level printf-alike
API in order to make it much higher level than otherwise suggested
by its minimal code base and the lack of explicit bindings for
every Redis command.

Apart from supporting sending commands and receiving replies, it
comes with a reply parser that is decoupled from the I/O layer. It
is a stream parser designed for easy reusability, which can for
instance be used in higher level language bindings for efficient
reply parsing.

Hiredis only supports the binary-safe Redis protocol, so you can
use it with any Redis version >= 1.2.0.

The library comes with multiple APIs. There is the synchronous API,
the asynchronous API and the reply parsing API.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a422493d601aa36cd14504a6791e7609093af8ed
RMD160: d87b275f8d3c16ad91fff664044faa5e731d53ae
Filesize: 62.863 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-22 19:20:12 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
hiredis: update to 0.14.1.

### 0.14.1 (2020-03-13)

* Adds safe allocation wrappers (CVE-2020-7105, #747, #752) (Michael Grunder)
   2019-11-26 13:43:42 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
hiredis: update to 0.14.0.

### 0.14.0

**Fixes**:

* Catch a buffer overflow when formatting the error message
* Import latest upstream sds. This breaks applications that are linked against \ 
the old hiredis v0.13
* Fix warnings, when compiled with -Wshadow
* Make hiredis compile in Cygwin on Windows, now CI-tested
* Bulk and multi-bulk lengths less than -1 or greater than `LLONG_MAX` are now
  protocol errors. This is consistent with the RESP specification. On 32-bit
  platforms, the upper bound is lowered to `SIZE_MAX`.

**BREAKING CHANGES**:

* Change `redisReply.len` to `size_t`, as it denotes the the size of a string

User code should compare this to `size_t` values as well.
If it was used to compare to other values, casting might be necessary or can be \ 
removed, if casting was applied before.

* Remove backwards compatibility macro's

This removes the following old function aliases, use the new name now:

| Old                         | New                    |
| --------------------------- | ---------------------- |
| redisReplyReaderCreate      | redisReaderCreate      |
| redisReplyReaderCreate      | redisReaderCreate      |
| redisReplyReaderFree        | redisReaderFree        |
| redisReplyReaderFeed        | redisReaderFeed        |
| redisReplyReaderGetReply    | redisReaderGetReply    |
| redisReplyReaderSetPrivdata | redisReaderSetPrivdata |
| redisReplyReaderGetObject   | redisReaderGetObject   |
| redisReplyReaderGetError    | redisReaderGetError    |

* The `DEBUG` variable in the Makefile was renamed to `DEBUG_FLAGS`

Previously it broke some builds for people that had `DEBUG` set to some \ 
arbitrary value,
due to debugging other software.
By renaming we avoid unintentional name clashes.

Simply rename `DEBUG` to `DEBUG_FLAGS` in your environment to make it working again.
   2018-01-26 10:33:31 by Jonathan Perkin | Files touched by this commit (2)
Log message:
hiredis: Fix SunOS linker flags.
   2017-07-07 13:21:12 by Thomas Klausner | Files touched by this commit (2)
Log message:
Honor LDFLAGS. Fixes RELRO build.
   2015-11-29 19:35:37 by Sebastian Wiedenroth | Files touched by this commit (2) | Package updated
Log message:
Update hiredis to 0.13.3

Changes:
	* Revert "Clear `REDIS_CONNECTED` flag when connection is closed".
	* Make tests pass on FreeBSD (Thanks, Giacomo Olgeni)
   2015-11-03 02:56:36 by Alistair G. Crooks | Files touched by this commit (368)
Log message:
Add SHA512 digests for distfiles for databases category

Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-02 17:12:37 by Sebastian Wiedenroth | Files touched by this commit (4) | Package updated
Log message:
Update hiredis to 0.13.2

* Prevent crash on pending replies in async code (Thanks, @switch-st)
* Clear `REDIS_CONNECTED` flag when connection is closed (Thanks, Jerry Jacobs)
* Add MacOS X addapter (Thanks, @dizzus)
* Add Qt adapter (Thanks, Pietro Cerutti)
* Add Ivykis adapter (Thanks, Gergely Nagy)

All adapters are provided as is and are only tested where possible.
   2015-06-05 16:07:27 by Sebastian Wiedenroth | Files touched by this commit (5) | Package updated
Log message:
Update hiredis to 0.13.1

### 0.13.1 - May 03, 2015

This is a bug fix release.
The new `reconnect` method introduced new struct members, which clashed with \ 
pre-defined names in pre-C99 code.
Another commit forced C99 compilation just to make it work, but of course this \ 
is not desirable for outside projects.
Other non-C99 code can now use hiredis as usual again.
Sorry for the inconvenience.

* Fix memory leak in async reply handling (Salvatore Sanfilippo)
* Rename struct member to avoid name clash with pre-c99 code (Alex Balashov, ncopa)

### 0.13.0 - April 16, 2015

This release adds a minimal Windows compatibility layer.
The parser, standalone since v0.12.0, can now be compiled on Windows
(and thus used in other client libraries as well)

* Windows compatibility layer for parser code (tzickel)
* Properly escape data printed to PKGCONF file (Dan Skorupski)
* Fix tests when assert() undefined (Keith Bennett, Matt Stancliff)
* Implement a reconnect method for the client context, this changes the \ 
structure of `redisContext` (Aaron Bedra)

### 0.12.1 - January 26, 2015

* Fix `make install`: DESTDIR support, install all required files, install \ 
PKGCONF in proper location
* Fix `make test` as 32 bit build on 64 bit platform

### 0.12.0 - January 22, 2015

* Add optional KeepAlive support
* Try again on EINTR errors
* Add libuv adapter
* Add IPv6 support
* Remove possiblity of multiple close on same fd
* Add ability to bind source address on connect
* Add redisConnectFd() and redisFreeKeepFd()
* Fix getaddrinfo() memory leak
* Free string if it is unused (fixes memory leak)
* Improve redisAppendCommandArgv performance 2.5x
* Add support for SO_REUSEADDR
* Fix redisvFormatCommand format parsing
* Add GLib 2.0 adapter
* Refactor reading code into read.c
* Fix errno error buffers to not clobber errors
* Generate pkgconf during build
* Silence _BSD_SOURCE warnings
* Improve digit counting for multibulk creation