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

Fix README typos

f6cee7142c1817281e6e9fed7d75640ea56b6f64 authored over 2 years ago by Björn Svensson <[email protected]>
Merge pull request #1050 from smmir-cent/fix-cmake-version

fix cmake version

06be7ff312a78f69237e5963cc7d24bc84104d3b authored over 2 years ago by Michael Grunder <[email protected]>
CI: bump macos runner version

7dd833d544d257225fff12211fc3deb1e37e4a0e authored over 2 years ago by SukkaW <[email protected]>
Drop `const` on redisAsyncContext in redisConnectCallback

Since the callback is now re-entrant, it can call apis such as redisAsyncDisconnect()

f69fac7690fb22a7fc19dba61ef70e5f79ccb2e9 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Add async regression test for issue #931

6ed060920f50fa5568a89c0ca3ccb6d9b50717bf authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Support calling redisAsyncDisconnect from the onConnected callback, by deferring context deletion

005d7edebe098bcc90dd0c0003c5710e60d44b63 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Merge pull request #932 from kristjanvalur/pr3

Polling adapter and example

eaa2a7ee77f4ce25e73a23e6030d4fa4d138cb11 authored over 2 years ago by Michael Grunder <[email protected]>
Add regression test for issue #945

2ccef30f3e00603c6e392502e1f910a95d6cb24a authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Initial async tests

4b901d44ad38670f223238edec93dcf3e1c57ac2 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Polling adapter and example

31c91408efe53623e2e523fa9e5aed7a5b91af21 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Merge pull request #1057 from orgads/static-name

Use the same name for static and shared libraries

8a15f4d6578560f2a375c32fc567c4c88335c2a8 authored over 2 years ago by Michael Grunder <[email protected]>
Merge pull request #1054 from kristjanvalur/pr08

Embed debug information in windows static .lib file

902dd047fe2f5e9ceb7936083c6d0506685e515f authored over 2 years ago by Michael Grunder <[email protected]>
Merge pull request #1074 from michael-grunder/kristjanvalur-pr4

Improved async documentation

c78d0926bf169670d15cfc1214e4f5d21673396b authored over 2 years ago by Michael Grunder <[email protected]>
Whitespace

2b115d56cd96e525dc169496853819f16099539e authored over 2 years ago by michael-grunder <[email protected]>
Fix typos

1343988cee4b774d19864be9c9134fbaf6daf09b authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Add some documentation on connect/disconnect callbacks and command callbacks

47b57aa243120c9678bb1a01d6a9a3da70894d6f authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Merge pull request #1073 from michael-grunder/kristjanvalur-pr1

Fix async connect on Windows

a890d9ce20959791765307007e012aef335b4e5c authored over 2 years ago by Michael Grunder <[email protected]>
Whitespace, style

f246ee433d7d46b8132781759c660f9cb70b417d authored over 2 years ago by michael-grunder <[email protected]>
Use correct type for getsockopt()

94c1985bde0751fabc31deba437ffa6f6d52b696 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Support failed async connects on windows.

5e002bc21c6b7483592cd66417bf7a374590b973 authored over 2 years ago by Kristján Valur Jónsson <[email protected]>
Merge pull request #1072 from michael-grunder/fix-redis7-unit-tests

Fix tests so they work for Redis 7.0

5d68ad2f48e908ff7fe2debe22f71182c2150547 authored over 2 years ago by Michael Grunder <[email protected]>
Fix tests so they work for Redis 7.0

* Redis >= 7.0.0 disables the `DEBUG` command by default, which we need
for our unit tests.

*...

f4b6ed28989ba0f6c59c64d015a8b0c830b3f1ca authored over 2 years ago by michael-grunder <[email protected]>
Merge pull request #1058 from orgads/win64

Fix warnings on Win64

95a0c1283a7277f684388edcbdf5b73d0d76104f authored over 2 years ago by Michael Grunder <[email protected]>
Fix warnings on Win64

read.c:399:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
...

eedb37a65dc8ec77cb6eb871349e086aec0c3d86 authored over 2 years ago by Orgad Shaneh <[email protected]>
Merge pull request #1062 from yossigo/fix-push-notification-order

Handle push notifications before or after reply.

47c3ecefc04505dcc8e42b9f726fc29aa8084bec authored over 2 years ago by Michael Grunder <[email protected]>
Merge pull request #1061 from yossigo/update-redis-apt

Use official repository for redis package.

e23d91c97b69c95e4131f3398fe1f3bafc1e7c33 authored over 2 years ago by Michael Grunder <[email protected]>
Merge pull request #1063 from redis/fix-windows-tests

Whitelist hiredis repo path in cygwin

34211ad5426c7662938876014f67e83fc5be3a2d authored over 2 years ago by Michael Grunder <[email protected]>
Whitelist hiredis repo path in cygwin

9957af7e3c7c68d38b45ea00f41600db49b216b6 authored over 2 years ago by michael-grunder <[email protected]>
Handle push notifications before or after reply.

b455b33818be4dab51777433fcac0d15e0c221ec authored over 2 years ago by Yossi Gottlieb <[email protected]>
Use official repository for redis package.

aed9ce4462c82ae0ee0724bacdd82acf25c226b0 authored over 2 years ago by Yossi Gottlieb <[email protected]>
Merge pull request #1047 from Nordix/unsubscribe-handling

Unsubscribe handling in async

d7683f35aa66e222aad07caf5b345393d0c1b9f1 authored almost 3 years ago by Michael Grunder <[email protected]>
Merge pull request #1045 from Nordix/sds-updates

Update hiredis sds with improvements found in redis

7c44a9d7ecf113beb9447e62dd34fb45378bf6da authored almost 3 years ago by Michael Grunder <[email protected]>
Use the same name for static and shared libraries

On all system except MSVC, the targets are different.

Unix: libhiredis.so, libhiredis.a
MinGW: ...

dd4bf97836d07df0a4502b72f9024d0231156711 authored almost 3 years ago by Orgad Shaneh <[email protected]>
Embed debug information in windows static lib, rather than create a .pdb file

Using .pdb files with .lib files on windows is very inconvenient, particularly if the .lib
file ...

ff57c18b9e7bcea564dc163eb195aefce44a12a3 authored almost 3 years ago by Kristján Valur Jónsson <[email protected]>
fix cmake version

8310ad4f5c231ed7c7ace410521e151206cfd9c9 authored almost 3 years ago by smmir-cent <[email protected]>
Handle any pipelined unsubscribe in async

Redis responds to an unsubscribe with one or many replies, depending
on the current subscribe st...

7123b87f6d237e0ddf75c9698b2961e2d102a69d authored almost 3 years ago by Björn Svensson <[email protected]>
Ignore pubsub replies without a channel/pattern

b6fb548fc65497ce933cfd15b6fd91c700d4b34e authored almost 3 years ago by Björn Svensson <[email protected]>
Handle overflows as errors instead of asserting

00b82683bbec3652f836518c30fecdb0f5a3ea62 authored almost 3 years ago by Björn Svensson <[email protected]>
Catch size_t overflows in sds.c

Equivalent changes introduced to redis sds.c via:
https://github.com/redis/redis/pull/8522
https...

64062a1d40f558e0892ed0a7566d389c4e6eb904 authored almost 3 years ago by Björn Svensson <[email protected]>
Use size_t/long to avoid truncation

Equivalent changes introduced to redis sds.c via:
https://github.com/redis/redis/pull/4568

066c6de79e03a54966cffc83aca0a724155005f2 authored almost 3 years ago by Björn Svensson <[email protected]>
Merge pull request #1046 from redis/rockylinux-ci

CentOS 8 is EOL, switch to RockyLinux

f8de9a4bd433791890572f7b9147e685653ddef9 authored almost 3 years ago by Michael Grunder <[email protected]>
CentOS 8 is EOL, switch to RockyLinux

a41c9bc8b7ebd4cdeecac8afa2668418977b6b71 authored almost 3 years ago by michael-grunder <[email protected]>
Avoid incorrect call to the previous reply's callback (#1040)

* No reuse of the previous reply callback

When multiple replies are parsed from a socket in o...

be41ed60d762937a8ab1e1a8c7d9daddf35217c8 authored almost 3 years ago by Bjorn Svensson <[email protected]>
fix building on AIX and SunOS (#1031)

f2e8010d95cbc220f8a05c597f5a81ed2339f71c authored almost 3 years ago by Dietmar Scheidl <[email protected]>
Add timeout support for libuv adapter (#1016)

Add timeout to libuv adapter

Co-authored-by: sunmingqi <[email protected]>
Co-autho...

e73ab2f2329f33823cc89d1070dda8bfb1356bb0 authored almost 3 years ago by MichaelSuen <[email protected]>
Allow sending commands after sending an unsubscribe (#1036)

* Add test of async commands after unsubscribe

Verify that commands are handled after unsubsc...

f2ce5980e6bc9739b85a5ac882980956c80907ba authored almost 3 years ago by Bjorn Svensson <[email protected]>
Correction for command timeout during pubsub (#1038)

* Add test of command timeout during pubsub

A timeout of a non-subscribe command will be igno...

ff860e55dbe49bbd3dc9a89d055047d0731ecc9f authored almost 3 years ago by Bjorn Svensson <[email protected]>
CMakeLists.txt: allow building without a C++ compiler (#872)

Define hiredis as a C project (and use a single PROJECT statement) to
avoid the following build ...

24d5344934b866590646591ef0d696cb705a055a authored almost 3 years ago by Fabrice Fontaine <[email protected]>
Fix adapters/libevent.h compilation for 64-bit Windows (#937)

Where SOCKET is a 64-bit unsigned integer.

4ece9a02ed43afd5d151a564e3eb88f1b942c6af authored almost 3 years ago by Peter Tummillo <[email protected]>
Don't link with crypto libs if USE_SSL isn't set.

799edfaadf2ef0f3ab45703780b1a4226abed702 authored about 3 years ago by michael-grunder <[email protected]>
Makefile: move SSL options into a block and refine rules

Move SSL options into two blocks to make it easy to read:
1, first part: SSL variables part
...

f74b08182c8fafafe706c8f5f4f2fb4a35028c8f authored about 3 years ago by zhenwei pi <[email protected]>
Update CMakeLists.txt for more portability (#1005)

add alias hiredis::hiredis and hiredis::hiredis_static so when this project is FetchContent, it ...

f347743b7ded3bc7768c36126257bf3ae8c4e045 authored about 3 years ago by Eric Deng <[email protected]>
Fix integer overflow when format command larger than 4GB (#1030)

f2be7480248bc4230eaca1b82253c6a910aaf045 authored about 3 years ago by sundb <[email protected]>
Handle array response in parallell with pubsub using RESP3 (#1014)

RESP3 allows sending commands in parallell with pubsub handling
and these commands might get re...

58aacdac65a04f611e2a659cd60ffa283b8bdf54 authored about 3 years ago by Bjorn Svensson <[email protected]>
Support PING while subscribing (RESP2) (#1027)

* Handle PING during pubsub in RESP2

* Rename invalid callback list

Some commands are vali...

d3384260e7e1726747bd78474e4b0874a4b0a236 authored about 3 years ago by Bjorn Svensson <[email protected]>
FreeBSD build fixes + CI (#1026)

* BSD linkage fix proposal

* Touch up the Makefile to fix BSD builds

Fixes #984

* Add a...

e3a479e4098dddbf0b075bbe81b0baca5fe0e3df authored about 3 years ago by Michael Grunder <[email protected]>
Merge branch 'redis:master' into master

c6657ef65bacc989a5ae1462062d41547fa84765 authored about 3 years ago by sundb <[email protected]>
Add asynchronous test for pubsub using RESP3 (#1012)

* Include `unsubscribe` as a subscribe reply in RESP3

By providing the (p)unsubscribe message...

da5a4ff3622e8744b772a76f6ce580dc9134fb38 authored about 3 years ago by Bjorn Svensson <[email protected]>
Valgrind returns error exit code when errors found (#1011)

By default Valgrind will return the exit code from the tested process.
Since our test can return...

b5716ee82926316f7764b834eec636f5652d5600 authored about 3 years ago by Bjorn Svensson <[email protected]>
Move to using make directly in Cygwin (#1020)

CMake started hanging when trying to detect the C compiler ABI in cygin,
so for now just build w...

1aed21a8c50fe075e8abce9db30c3860673f0fc7 authored about 3 years ago by Michael Grunder <[email protected]>
Correct CMake warning for libevent adapter example

a83f4b8905484fb2b81c7fd71430ccf3aabe24cd authored about 3 years ago by Björn Svensson <[email protected]>
Remove unused parameter warning in libev adapter

A warning in `redisLibevTimeout(..)` is triggered when building the
libev adapter with Clang usi...

c4333203e3895538664be2eed3091025130edf6a authored about 3 years ago by Björn Svensson <[email protected]>
Small tweaks of the async tests

7ad38dc4a87393efeca405df8b14a83eb43158b9 authored about 3 years ago by michael-grunder <[email protected]>
Fix potential fault at createDoubleObject

Resolves #963.

Add additional check to `hi_malloc` for `r->str` when len equals to
SIZE_MAX.

50cdcab49d539e4703018185992abf3214088e85 authored about 3 years ago by Pei-Hsuan Hung <[email protected]>
Add asynchronous test for pubsub using RESP2

The testcase will subscribe to a channel, and via a second client
a message is published to the ...

4021726a69abfa31005c8653e1856b59c21bb032 authored about 3 years ago by Björn Svensson <[email protected]>
Add build options for enabling async tests

Asynchronous testcases that requires the event library `libevent`
can be built and enabled by us...

648763c36e9f6493b13a77da35eb33ef0652b4e2 authored about 3 years ago by Björn Svensson <[email protected]>
Correcting the build target `coverage` for enabled SSL (#1009)

* Exclude includes from /usr in coverage reporting

* Correct build target `coverage` for enab...

c98c6994ded45e774c3459baa2936f06f8a2c331 authored about 3 years ago by Bjorn Svensson <[email protected]>
Run SSL tests in CI

30ff8d850e3cbc26064c5bc6ad4edbc34addd15d authored about 3 years ago by Björn Svensson <[email protected]>
Add valgrind and CMake to tests

4a126e8a9c52ac2fd0bb46cae57afa3f1cb44fd6 authored about 3 years ago by michael-grunder <[email protected]>
Add Centos8

I'm sure this can be done with a container matrix but figuring that out
is left for another day.

b73c2d410f4c7c2510cf63e98660bab2ca82fbc9 authored about 3 years ago by michael-grunder <[email protected]>
We should run actions on PRs

e9f64738450374e7f324c99988308d7d1f16451d authored about 3 years ago by michael-grunder <[email protected]>
Add Cygwin build test

6ad4ccf3c7c6bed282f55d4658462b8c40c6ad39 authored about 3 years ago by michael-grunder <[email protected]>
Add Windows tests in GitHub actions

See: #992

TODO: MinGW/cygwin tests

783a3789c2c2a7fb1cc28c33d532a4366db9100a authored about 3 years ago by michael-grunder <[email protected]>
Switch to GitHub actions

Since TravisCI.org was deprecated we've been without any tests. This
commit adds back basic tes...

0cac8dae1b161f400d81bf789fb3713d6dc2a18e authored about 3 years ago by michael-grunder <[email protected]>
Fix unused variable warning.

fa900ef76fbdc9f2bcec0d2cd507000dce9d8d03 authored about 3 years ago by michael-grunder <[email protected]>
Minor refactor of CVE-2021-32765 fix.

Since `hi_calloc` always passes through one of our wrapper functions,
we can perform this overfl...

e489846b7226958718ae91fa0c4999b420c706e2 authored about 3 years ago by michael-grunder <[email protected]>
Remove extra comma from cmake var.

Or it'll be treated as part of the var name.

51c740824be0a604d931bdc6738a74f1ee0abb36 authored about 3 years ago by Tongliang Liao <[email protected]>
Merge branch 'release/v1.0.2'

632bf07183a9008fd0c9d315a517738c37c7a973 authored about 3 years ago by michael-grunder <[email protected]>
Prepare for v1.0.2 GA

b731283245f3183af527237166261ad0768ba7d4 authored about 3 years ago by michael-grunder <[email protected]>
Revert erroneous SONAME bump

d4e6f109a064690cde64765c654e679fea1d3548 authored about 3 years ago by michael-grunder <[email protected]>
Merge branch 'release/v1.0.1'

Merge the v1.0.1 release branch and bump the dev version to 1.0.2-dev

a39824a5dfc844ba04a64bf3c90d9d49f64ae3f7 authored over 3 years ago by michael-grunder <[email protected]>
Prepare for v1.0.1 GA

8d1bfac4640fe90cd6f800d09b7f53e886569b98 authored over 3 years ago by michael-grunder <[email protected]>
Fix for integer/buffer overflow CVE-2021-32765

This fix prevents hiredis from trying to allocate more than `SIZE_MAX`
bytes, which would result...

76a7b10005c70babee357a7d0f2becf28ec7ed1e authored over 3 years ago by Yossi Gottlieb <[email protected]>
Allow to override OPENSSL_PREFIX in Linux

9eca1f36f4884f5fae8553aef3a0033c13700096 authored over 3 years ago by Yunier Perez <[email protected]>
Don't leak memory if an invalid type is set (#906)

Co-authored-by: James Rouzier <[email protected]>

2d9d77518d012a54ae34f9822e4b4d19823c4b75 authored over 3 years ago by rouzier <[email protected]>
Added REDIS_NO_AUTO_FREE_REPLIES flag (#962)

When set hiredis will not automatically free replies in an async context, and the replies must b...

f5f31ff9b92b6bdf628716449d0d0782ceb7704a authored over 3 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Ensure we curry any connect error to an async context.

5850a8ecd2fb4ab39d80773e3017f02aff097ec4 authored over 3 years ago by michael-grunder <[email protected]>
Fix README.md

Closes #929

b6f86f38c2bbf0caa63d489174ac3a9777b97807 authored over 3 years ago by michael-grunder <[email protected]>
Merge pull request #935 from kristjanvalur/pr5

Bugfix: Ignore timeout callback from a successful connect (fixes #945)

667dbf536524ba3f28c1d964793db1055c5a64f2 authored over 3 years ago by Michael Grunder <[email protected]>
Merge pull request #939 from zmartzone/improve_pr_896_ssl_leak

improve SSL leak fix redis/hiredis#896

9bf6c250e5e0ed7e68377f2986877959aaa95920 authored over 3 years ago by Michael Grunder <[email protected]>
Merge pull request #949 from plan-do-break-fix/Typo-corrections

fix(docs): corrects typos in project README

959af9760972460017442697a127e55b4e70a39b authored over 3 years ago by Michael Grunder <[email protected]>
fix(docs): corrects typos in project README

0743f57bbae3999206d13cdfd15e35740026698c authored over 3 years ago by plan-do-break-fix <[email protected]>
improve SSL leak fix redis/hiredis#896

Free SSL object when redisSSLConnect fails but avoid doing that for
callers of redisInitiateSSL ...

5f4382247a0074d2080921956cd9784bbd1824c2 authored over 3 years ago by Hans Zandbelt <[email protected]>
Ignore timeout callback from a successful connect

e06ecf7e45c6a976a2089240fe0b1eae3098e18a authored over 3 years ago by Kristján Valur Jónsson <[email protected]>
Handle the case where an invalidation is sent second.

RESP3 invalidation messages always seemed to be sent before the response
to a given command, but...

6204182aae71ca321418c069eac907936eeaa33a authored almost 4 years ago by michael-grunder <[email protected]>
Change order independant push logic to not change behavior.

Since redisGetReplyFromReader is exposed in a header file, we probably
shouldn't modify how it b...

dfa33e60b07c13328133a16065d88d171a2a61d4 authored almost 4 years ago by michael-grunder <[email protected]>
Merge branch 'reader-updates'

Updates and improvements to the RESP3 protocol reader.

* Fix the unset len field when creating ...

d6a0b192b414dc261589d4c2d16577c2192b39c0 authored almost 4 years ago by michael-grunder <[email protected]>
read: Validate line items prior to checking for object creation callbacks

bd7488d27d235a35a16519446173bef99fd4f200 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]>
read: Remove obsolete comment on nested multi bulk depth limitation

5f9242a1f8d99bf9b7864e8ecdce443fe821ab40 authored almost 4 years ago by Alex Smith <[email protected]>