Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/redis/hiredis

Minimalistic C client for Redis >= 1.2
https://github.com/redis/hiredis

read: Ensure no invalid '\r' or '\n' in simple status/error strings

c6646cb19242b0e0966760b38e7df74742b3a7b2 authored almost 4 years ago by Alex Smith <[email protected]>
read: Additional validation and test case for RESP3 double

This ensures that malformed RESP3 double messages that include an
invalid null byte are not pars...

e43061156cffea910ab46dab1135e16e70774dce authored almost 4 years ago by Alex Smith <[email protected]>
redisReply: Explicitly list nil and bool cases in freeReplyObject() switch.

ff73f1f9e79625843c08ab4e4846f21dde36ee93 authored almost 4 years ago by Alex Smith <[email protected]>
test: Add test case for RESP3 set

0f92518847cbc7c83357a48059a273db8fe078a3 authored almost 4 years ago by Alex Smith <[email protected]>
test: Add test case for RESP3 map

33c06dd5036014b2ded7f2ef6fb994f2f3eadbe5 authored almost 4 years ago by Alex Smith <[email protected]>
read: Use memchr() in seekNewline() instead of looping over entire string

397fe2630170e33eee06533749b1802f9371cb3e authored almost 4 years ago by Alex Smith <[email protected]>
read: Add additional RESP3 bool validation

RESP3 bools should be only one of "#t\r\n" or "#f\r\n". We also allow
capital 'T' and 'F' to be ...

51e693f4fd54d6a9dfbdafa1b361f6618e4f7ba3 authored almost 4 years ago by Alex Smith <[email protected]>
test: Add test cases for infinite and NaN doubles

96e8ea611022e8c360f1883b81f6ec2a386b9ed3 authored almost 4 years ago by Alex Smith <[email protected]>
read: Fix double validation and infinity parsing

The ',' protocol byte gets removed in processItem(), so it should not
be compared against in pro...

f913e9b997e2cc4b847923e1b3b0649d77c85923 authored almost 4 years ago by Alex Smith <[email protected]>
test: Add test case for doubles

8039c7d26c553509afe8b2dce0e9deca28957e9f authored almost 4 years ago by Alex Smith <[email protected]>
read: Add support for the RESP3 bignum type

83c14504257de168c45ae7730a00c930ab17cfa3 authored almost 4 years ago by Alex Smith <[email protected]>
read: Remove obsolete comment on nested multi bulk depth limitation

5f9242a1f8d99bf9b7864e8ecdce443fe821ab40 authored almost 4 years ago by Alex Smith <[email protected]>
Fix off-by-one error in seekNewline

410c24d2a977288ec97ffac23a303597b9f98d67 authored almost 4 years ago by michael-grunder <[email protected]>
test: Add test cases for RESP3 nil

790b4d3b4da0687a475e8a42724fbf6739bbd947 authored almost 4 years ago by Alex Smith <[email protected]>
redisReply: Fix parent type assertions during double, nil, bool creation

Per RESP3, push messages are able to contain exactly what array
messages can contain (that is, a...

c8adea4024bbc405d96736c26bd2357c902a1f6b authored almost 4 years ago by Alex Smith <[email protected]>
read: Add additional RESP3 nil validation

RESP3 nil should consist of "_\r\n" and nothing else.

d8899fbc190d49bb09c2576035d4db4ead185846 authored almost 4 years ago by Alex Smith <[email protected]>
Merge pull request #924 from cheese1/master

http -> https

53a8144c816ba1f468d90d30e2eef71fcbd3ffd3 authored almost 4 years ago by Michael Grunder <[email protected]>
http -> https

9390de006d3a122b365407c01650ef242a592053 authored almost 4 years ago by cheese1 <[email protected]>
Merge pull request #917 from Nordix/stack-alloc-dict-iter

Stack allocate dict iterators

7d99b56356aa9791a8b3ff0316da871d63afbb7a authored almost 4 years ago by Michael Grunder <[email protected]>
Handle OOM during async command callback registration

Unless the callback is pushed to the list it will trigger an assert
in redisProcessCallbacks() w...

4bba72103c93eaaa8a6e07176e60d46ab277cf8a authored almost 4 years ago by Bjorn Svensson <[email protected]>
Stack allocate dict iterators

Replacing the get & release functions with an initiation
function. Simplifies the code and will ...

920128a260b0056f7b14b479232d96405d9a6e62 authored almost 4 years ago by Bjorn Svensson <[email protected]>
Remove semicolon after do-while in _EL_CLEANUP

fd033e983acb69f7814255e7836f255411e17007 authored about 4 years ago by sundb <[email protected]>
Tiny formatting changes + suppress implicit memcpy warning

297ecbecb71616977ab0bb9b7387d8fa19a5a54f authored about 4 years ago by michael-grunder <[email protected]>
Removed 2 typecasts

f746a28e71c14ce0adca17e4998514e5d19c317e authored about 4 years ago by AdamKorcz <[email protected]>
Added fuzzer

940a04f4ddb29356aa22aa88fea2d17ab3b20aea authored about 4 years ago by AdamKorcz <[email protected]>
Illumos test fixes, error message difference fot bad hostname test.

664c415e7fcc4551a30c2fed7c92d435fd812d7b authored about 4 years ago by David Carlier <[email protected]>
Merge pull request #896 from ayeganov/bugfix/ssl_leak

Free SSL object when redisSSLConnect fails

e4a200040a1f8f5b674e4b753cbc604d500fe05c authored about 4 years ago by Michael Grunder <[email protected]>
Free SSL object when redisSSLConnect fails

aefef8987f3bbc13d17b8e672f81b973d57ea667 authored about 4 years ago by Aleksandr Yeganov <[email protected]>
Merge pull request #894 from jcohen02/fix/issue893

Updating SSL connection example in README

e3f88ebcf830323db32a33b908d67a617caf83e4 authored about 4 years ago by Michael Grunder <[email protected]>
Updating SSL connection example

308ffcab8d75ba57876707ddc919b12a64c82b38 authored about 4 years ago by Jeremy Cohen <[email protected]>
Merge pull request #889 from redis/wincert

Add support for Wincert CA store in Windows

297f6551da11d4a22fefe4d385d42edf27a6cd73 authored about 4 years ago by Michael Grunder <[email protected]>
Formatting

e7dda978599a715175b13db59dda8be3affa3165 authored about 4 years ago by michael-grunder <[email protected]>
Merge pull request #874 from masariello/position-independent-code

Enable position-independent code, and add PDB files to packages for MSVC builds

f44945a0af08b388854f0d7d2e1381e26c695ef7 authored about 4 years ago by Michael Grunder <[email protected]>
Merge pull request #888 from michael-grunder/nil-push-invalidation

Fix handling of NIL invalidation messages.

74e78498cf90cd26fadd2264586fcb9c1e404b8a authored about 4 years ago by Michael Grunder <[email protected]>
Fix handling of NIL invalidation messages.

When CLIENT TRACKING is enabled, Redis will send an invalidation message
with a NIL payload to a...

b9b9f446feca0dda2148b5e3d541ff5e87627a31 authored about 4 years ago by michael-grunder <[email protected]>
Merge pull request #885 from gkorland/patch-1

clean a warning, remvoe empty else block

acc917548dcfd91e5d56387ed58b5f408cdb810a authored about 4 years ago by Michael Grunder <[email protected]>
clean a warning, remvoe empty else block

b086f763e79fea24d227450da07d877f91436130 authored about 4 years ago by Guy Korland <[email protected]>
Merge pull request #881 from timgates42/bugfix_typo_terminated

docs: Fix simple typo, termined -> terminated

b47fae4e7012a9e868db4e0cdfd2fb078a715706 authored over 4 years ago by Michael Grunder <[email protected]>
docs: Fix simple typo, termined -> terminated

There is a small typo in sds.c.

Should read `terminated` rather than `termined`.

f989670e595f5b9548a2a759be06b5adc33e78ac authored over 4 years ago by Tim Gates <[email protected]>
Copy error to redisAsyncContext on timeout

773d6ea8a73de57279a8733aa884bc5710816779 authored over 4 years ago by shiyuge <[email protected]>
add pdb files to packages for MSVC builds

e35300a6687e1d8fa52c3596ae67ddca757e0e28 authored over 4 years ago by Alessio M <[email protected]>
Add d suffix to debug libraries so that can packaged together with optimized builds (Release, RelWithDebInfo, etc)

dde6916b42a4723b364355eff8fbb477723a789a authored over 4 years ago by Alessio M <[email protected]>
Enable position-independent code

3b68b5018e87ca259c5f5b5f6ee23b445c8fab14 authored over 4 years ago by Alessio M <[email protected]>
Add support for system CA certificate store on Windows

6693863f4c9370cb800fbc2ec45ed027c8fa5f02 authored over 4 years ago by Alessio M <[email protected]>
Remove whitespace

2a5a57b90a57af5142221aa71f38c08f4a737376 authored over 4 years ago by michael-grunder <[email protected]>
fixed issue with unit test linking on windows with SSL

1b40ec509628c73ac272c8599a3c923e34800d54 authored over 4 years ago by Alessio M <[email protected]>
Merge branch 'master' of github.com:redis/hiredis

d7b1d21e807f8a90a086b2ef5cea9b707d4cc858 authored over 4 years ago by Alessio M <[email protected]>
Merge pull request #870 from michael-grunder/cmake-c99

Explicitly set c99 in CMake

fb0e6c0dd9affd5728c6e0a6423f5dcb7b207947 authored over 4 years ago by Michael Grunder <[email protected]>
Explicitly set c99 in CMake

See #869

13a35bdb64615e381c5e1151cdd4e78bba71a6db authored over 4 years ago by michael-grunder <[email protected]>
Merge pull request #868 from michael-grunder/fix-sockaddr-typo

Fix sockaddr typo

bea137ca945a131f01159358ee76567992198e58 authored over 4 years ago by Michael Grunder <[email protected]>
Fix sockaddr typo

Fixes #867

bd6f86eb6b252d33bfcbc947cb459434a7c41072 authored over 4 years ago by michael-grunder <[email protected]>
Don't use non-installed win32.h helper in examples (#863)

See: #862

48696e7e5e0c4fedf15dac0ae974b7fa5526febf authored over 4 years ago by Michael Grunder <[email protected]>
Merge tag 'v1.0.0'

Release of v1.0.0

Hiredis v1.0.0 marks the first stable release of Hiredis and introduces
RESP3...

faa1c4863ab7b6de460838972b9ee4989a72a990 authored over 4 years ago by michael-grunder <[email protected]>
Prepare for v1.0.0 GA

d5b4c69b7113213c1da3a0ccbfd1ee1b40443c7a authored over 4 years ago by michael-grunder <[email protected]>
Define a no op assert if we detect NDEBUG (#861)

Addresses #642

5003906d633dd4b96a3a60d1f63188ffaca3140e authored over 4 years ago by Michael Grunder <[email protected]>
Use development specific versions in master

Avoids issues like #860

ea063b7cc895131c6f2955351e8ea5b9d0a48048 authored over 4 years ago by michael-grunder <[email protected]>
We can run SSL tests everywhere except mingw/Windows (#859)

04a27f4800fc53f1f0192284da47cf0ed5de5159 authored over 4 years ago by Michael Grunder <[email protected]>
Remove extra whitespace (#858)

8966a1fc2b21de85b0bf7573257cb2a104ea2130 authored over 4 years ago by Michael Grunder <[email protected]>
Keep libev's code style (#857)

34b7f7a0ff9cc21ab50ce32e0ff620f4c1248058 authored over 4 years ago by lijiageng <[email protected]>
Update notes preparing for v1.0.0-rc1

a8534675421a76f68dd175caa7f4b279dada9743 authored over 4 years ago by michael-grunder <[email protected]>
Move SSL management to a distinct private pointer. (#855)

We need to allow our users to use redisContext->privdata as context
for any RESP3 PUSH messages...

d8ff72387d5474e56228a3403dc91354d9916189 authored over 4 years ago by Michael Grunder <[email protected]>
Minor refactor for scheduling an async timer. (#854)

Small change to the logic introduced in #839

be32bcdc8e84ae7dc091ceeffca2c5d4126f415c authored over 4 years ago by Michael Grunder <[email protected]>
add a command_timeout to redisContextOptions (#839)

Add an additional timeout so the user has a convenient way of controlling distinct connect and c...

38b5ae543f5c99eb4ccabbe277770fc6bc81226f authored over 4 years ago by valentinogeron <[email protected]>
Add static library target and cpack support

07c3618ffe7912c2ebc589ea45501c687a19cf2c authored over 4 years ago by masariello <[email protected]>
Fix a static analysis false positive

Static analyzer's can't tell that hi_calloc is calloc-like, and report a
potential null pointer ...

3bb985314d0563857c84beef0097ffc8de2d9438 authored over 4 years ago by michael-grunder <[email protected]>
Move include to sockcompat.h to maintain style (#850)

See #848

18fc12c392f506c7be3cb0753304db6a3525a8a9 authored over 4 years ago by Michael Grunder <[email protected]>
fix windows compiling with mingw (#848)

43aeabbbee2fb61bb0cf82d8e82631db35a6ffb8 authored over 4 years ago by Malizia R <[email protected]>
Remove erroneous tag and add license to push example (#849)

5a3c3241382033a0763e45f98a6cc6a760215079 authored over 4 years ago by Michael Grunder <[email protected]>
Resp3 oob push support (#841)

Proper support for RESP3 PUSH messages.

By default, PUSH messages are now intercepted and the...

2e7d7cbabd32912342218078282fce92f6cc0ab6 authored over 4 years ago by Michael Grunder <[email protected]>
Some Windows quality of life improvments. (#846)

* Don't try to ignore SIGPIPE in Windows (it doesn't exist).
* Add an include to our win32.h co...

1864e76ea7323fd8789d9c8b5b3c8ca27d4840a6 authored over 4 years ago by Michael Grunder <[email protected]>
Use _WIN32 define instead of WIN32 (#845)

It appears that _WIN32 is always defined by MSVC whereas WIN32 may not
be, depending on configu...

ada366527943b53d749963797080966f99e837f4 authored over 4 years ago by Michael Grunder <[email protected]>
Non Linux CI fixes (#844)

* Switch to memurai for Windows tests

* Switch to macports from brew.

08593db1f2125b50a98cf20f6388579c34b90e76 authored over 4 years ago by Michael Grunder <[email protected]>
fix #785: defer TCP_NODELAY in async tcp connections (#836)

Co-authored-by: Omri Steiner <[email protected]>

392de5d7f97353485df1237872cb682842e8d83f authored over 4 years ago by OmriSteiner <[email protected]>
timeout option in redisConnectWithOptions should be on connect only (#829)

When connecting with a timeout, we shouldn't also call `redisSetTimeout` which will implement a ...

a28de70a0196275317642eb60f8387a2ee950330 authored over 4 years ago by valentinogeron <[email protected]>
sdsrange overflow fix (#830)

Fix overflow bug in `sdsrange`

6448f735d5663c7c58aa269d8f53f06c4640ef5a authored over 4 years ago by Michael Grunder <[email protected]>
Use explicit pointer casting for c++ compatibility (#826)

c7267235455f48e7ce4aa5cb1d0bc0cfe2b7ba09 authored over 4 years ago by Aureus <[email protected]>
Merge branch 'new-ssl-api'

4152bfce7ce41a6bff883af7d4e04d55627a036d authored over 4 years ago by michael-grunder <[email protected]>
Tiny OOM fix

904bf7fe006d584f0051743e501cc54a2a897cf2 authored over 4 years ago by michael-grunder <[email protected]>
Merge branch 'master' into new-ssl-api

ffd6eaebd64a7c993f42181e12124e19fb914fcd authored over 4 years ago by michael-grunder <[email protected]>
Document allocator injection and completeness fix in test.c (#824)

e553e0f382394ea055d0b6b7637ab2534cf38146 authored over 4 years ago by Michael Grunder <[email protected]>
Use unique names for allocator struct members (#823)

Using `strdup` as a struct member causes issues in older gcc

f5d258504333d5598428853b7293e26814f65acf authored over 4 years ago by Michael Grunder <[email protected]>
New SSL API to replace redisSecureConnection().

190bca88d0635f1e53d9e39fc69f4f21b67a1baf authored over 4 years ago by Yossi Gottlieb <[email protected]>
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 the...

8e0264cfd6889b73c241b60736fe96ba1322ee6e authored over 4 years ago by Michael Grunder <[email protected]>
Add logic to handle RESP3 push messages (#819)

Fixes #815

83bba659b9dbd6c77baf2ff27ff6342317869a3e authored over 4 years ago by Michael Grunder <[email protected]>
Use standrad isxdigit instead of custom helper function. (#814)

Standard function available and on most platforms uses a lookup table and not
a check with 3 ra...

c8999c66024b0de347adecb774d14963c08a66db authored over 4 years ago by Muhammad Zahalqa <[email protected]>
Resp3 verbatim string support (#805)

Pull RESP3 verbatim string handling from Redis

Fixes #802

5c9f49e2123c5df7148939a70b80cd72e4e59646 authored over 4 years ago by Michael Grunder <[email protected]>
Fix missing SSL build/install options. (#812)

* Fix missing SSL build/install options.

* Use different build commands for non-Linux linkers...

243099ccd24b3a02aa3685abcfac77306a3b7d67 authored over 4 years ago by Yossi Gottlieb <[email protected]>
Add link to ABI tracker (#808)

Addresses #506

a6a824cb65c91fb5d756a1dcd849a5b4dbeae970 authored over 4 years ago by Michael Grunder <[email protected]>
Remove nested depth limitation. (#797)

* Remove nested depth limitation.

This commit removes the nested multi-bulk depth limitation ...

eafb085d1172bb8aa1cdfd230d580910a691ecd4 authored over 4 years ago by Michael Grunder <[email protected]>
Support timeouts in libev adapater (#795)

Add support for timeouts in our libev adapter.

See #795

994d2fd77d648b0a06eec91bc287c2e0d7d231ad authored over 4 years ago by Michael Grunder <[email protected]>
Attempt to fix compilation on Solaris (#796)

See #757

2cb203c1e99441172052f63afedd501ee2cedb65 authored over 4 years ago by Michael Grunder <[email protected]>
Fix pkgconfig when installing to a custom lib dir (#793)

* Respect overridden libdir in CMake

See: #767

7e2ee7c38b42345eeb0aa787824219e622434ae7 authored over 4 years ago by Michael Grunder <[email protected]>
Fix USE_SSL=1 make/cmake on OSX and CMake tests (#789)

* Fix linker problems when building with SSL enabled on OSX
* Corrects `HIREDIS_SSL=ON` to `USE...

b484021859c2b395f13163caaa9b877b5284ab07 authored over 4 years ago by Michael Grunder <[email protected]>
Provides an optional cleanup callback for async data.

0184caac9de25258b23156016b3528e9878f1dae authored over 4 years ago by Nick Rivera <[email protected]>
Use correct libuv call on Windows (#784)

Explicitly call `uv_poll_init_socket` as that has slightly different semantics on Windows (and i...

a5613f3f7fd3a11353561360d40b9e7dcbeffc7f authored over 4 years ago by Michael Grunder <[email protected]>
Added CMake package config and fixed hiredis_ssl on Windows (#783)

* Add CMake package configuration so hiredis can be more easily included in
other projects.
...

ec08c2b94a6d2e3f3572dfdac734fb8a92682ac8 authored over 4 years ago by Michael Grunder <[email protected]>
Merge pull request #780 from yossigo/fix/cmake_ssl_so_version

CMake: Set hiredis_ssl shared object version.

b314c0df3d05b362d484fffe5cc03ca98584e084 authored over 4 years ago by Michael Grunder <[email protected]>
CMake: Set hiredis_ssl shared object version.

1b967bc947195a7fa50392c0093da57fed0afbac authored over 4 years ago by Yossi Gottlieb <[email protected]>
Win32 tests and timeout fix (#776)

Unit tests in Windows and a Windows timeout fix

This commit gets our unit tests compiling and...

cc9d03297177eb8504c7353db673b9dc6f64ea07 authored almost 5 years ago by Michael Grunder <[email protected]>
Const correctness

Fixes #778

ec18d790f165da1b2e7528828518a3034aa74b9c authored almost 5 years ago by michael-grunder <[email protected]>