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

libevent: fix invalid mem access on delete within callback enter

24e6166fedbd76a47db2ca0b4f7ab52edc0044e8 authored almost 6 years ago by Mark Nunberg <[email protected]>
minor fixes: initialize options struct with 0 always

also, clean up redisContextInit -- we're just zeoring the struct

f4f6b6d65c83df53ac4e7a6730440ea7af368fcd authored almost 6 years ago by Mark Nunberg <[email protected]>
libevent-example: Use timeout

7b705936f66f34f79ec0bc45c6c7cf4ab40296e7 authored almost 6 years ago by Mark Nunberg <[email protected]>
Don't warn on missing field initializers

f51363a70cdee179ed30b580f1e47b715cde06fb authored almost 6 years ago by Mark Nunberg <[email protected]>
Fix memory leaks

847a20122f3e3c6e69179943f2d397da6712de80 authored almost 6 years ago by valentino <[email protected]>
Unix: set addrlen so async reconnect uses proper size

3a547b8ec045704bf4836d0c5c9657fa311698f0 authored almost 6 years ago by Mark Nunberg <[email protected]>
Allow connectWithOptions for async as well

deba8d956d578547319919adedda4714f779dbb9 authored almost 6 years ago by Mark Nunberg <[email protected]>
read/write timeouts

35a0a1f369cdeb8d7d93fda8278099d7aa60aee6 authored almost 6 years ago by Mark Nunberg <[email protected]>
Provide option-struct initialization

This reduces the boilerplate of all the redisConnectXXX functions, and
allows us to provide more...

e4a78006e73fada8084b15618b7ba269fdda9237 authored almost 6 years ago by Mark Nunberg <[email protected]>
Use SSL by default

d329cc952a61fc937c2bfe6887ed6d64d763f4f3 authored almost 6 years ago by Mark Nunberg <[email protected]>
Don't add dead code for HIREDIS_NOSSL

We changed this to `HIREDIS_SSL`

4127e4488bcebceac59aefe6013e3f854b192394 authored almost 6 years ago by Mark Nunberg <[email protected]>
Minor SSL-related fixes

bc2a8f372a9f073e2fc00c34ba11cb3cb671f252 authored almost 6 years ago by Mark Nunberg <[email protected]>
Disable SSL by default

82549a53de4483b368008485d74028f302fd0e60 authored almost 6 years ago by Mark Nunberg <[email protected]>
Fix bug in options macro

53d9b12b76858bb236113628ad8585abbccd9f87 authored almost 6 years ago by Mark Nunberg <[email protected]>
Add SSL example

ba947bc93cc262c37db181f4684db1c37e803d6a authored almost 6 years ago by Mark Nunberg <[email protected]>
Support SNI

58222c26f4889c3f83c453bd7ec87e387459fd0c authored almost 6 years ago by valentino <[email protected]>
Initial SSL (sync) implementation

0c1454490669f3c95e3c8b0ac6a83582d14e30e0 authored almost 6 years ago by Mark Nunberg <[email protected]>
Fix compilation on Ubuntu

389e694abe6bb9ed6e5a44674d89a866c5231422 authored almost 6 years ago by valentino <[email protected]>
Remove extra printfs

5f50eb4131c98cb7c418c107317373292ad6ae6c authored almost 6 years ago by Mark Nunberg <[email protected]>
SSL for async I/O

08efa46599410e6b56ab19ed1c9a72c67476db9c authored almost 6 years ago by Mark Nunberg <[email protected]>
Obey HIREDIS_SONAME for shared library

Signed-off-by: Justin Brewer <[email protected]>

ebe1657c8f76b4940c135ca26f40ffd06835c363 authored almost 6 years ago by Justin Brewer <[email protected]>
Update .travis-ci.yml to use cmake

Signed-off-by: Justin Brewer <[email protected]>

93261d465f663ef81290081cc6d353d6db480bc0 authored almost 6 years ago by Justin Brewer <[email protected]>
Enable make test

Signed-off-by: Justin Brewer <[email protected]>

58d0e283331e778b11f4104d8cb4e8d5d7d9aa09 authored almost 6 years ago by Justin Brewer <[email protected]>
Generate and install hiredis.pc

Signed-off-by: Justin Brewer <[email protected]>

9ea7ddec0c8b83cb38ce41477116f31614d6623e authored almost 6 years ago by Justin Brewer <[email protected]>
Call project() with parsed version string

Signed-off-by: Justin Brewer <[email protected]>

7d38176bdbe55621dfb547d3d481c700dcdba721 authored almost 6 years ago by Justin Brewer <[email protected]>
Update appveyor.yml to cmake

Signed-off-by: Justin Brewer <[email protected]>

4d00404b8fb47e618474d5538e4a720ac1c95d95 authored almost 6 years ago by Justin Brewer <[email protected]>
Add examples to CMakeLists

bbad21f5cac8295e83e4d118d450aaa32e4435d8 authored almost 6 years ago by Mark Nunberg <[email protected]>
Add CMake system. Initial commit

This provides a target to build a DSO, as well as the ability to install
it.

ead586a2cb7de8a17073a96704a4200d63a380e5 authored almost 6 years ago by Mark Nunberg <[email protected]>
Install async.h

Signed-off-by: Justin Brewer <[email protected]>

edfab35cdcc5d5767918322b8af2dc41915f416d authored almost 6 years ago by Justin Brewer <[email protected]>
Add ENABLE_EXAMPLES option, off by default

Signed-off-by: Justin Brewer <[email protected]>

0c57a083c702609d3e65789338ea2477de92c6f3 authored almost 6 years ago by Justin Brewer <[email protected]>
Merge pull request #644 from codehz/codehz-patch-1

Fix Invalid argument after redisAsyncConnectUnix

c732240152331f33bfe54e8cff451e515ba2fee5 authored almost 6 years ago by Mark Nunberg <[email protected]>
Fix Invalid argument after redisAsyncConnectUnix

be6bb39fda8cd1fe300e9dfb0fd4d1e598c37435 authored almost 6 years ago by Code Hz <[email protected]>
Merge pull request #632 from Mic92/patch-1

Makefile: use predefined AR

e6e5a2cba66edfb4b422f996640672e056328380 authored about 6 years ago by Mark Nunberg <[email protected]>
Fix regression when connecting with Unix sockets (#629)

088d1469b30ba4e51c550cf1ef84580c4575a307 authored about 6 years ago by Mark Nunberg <[email protected]>
Allow connections to unix socket in example

To minimize code changes, a simple `u` (or UNIX, Unix, unix, etc -- as
long as the first charact...

8633a2f32eecb43a0c12e9de1bb358da9e6b7d43 authored about 6 years ago by Mark Nunberg <[email protected]>
Makefile: use predefined AR

This allows to override it for cross compilation.

2fa34e37af0881ff3700fea64fe211bbb8b028a2 authored about 6 years ago by Jörg Thalheim <[email protected]>
Merge pull request #624 from yossigo/fix/libuv-errors

Fix errors not propagating properly with libuv.h.

91289c81ee19c6fcef88960fc91eda7d32dae364 authored about 6 years ago by Mark Nunberg <[email protected]>
Merge pull request #628 from devnexen/freebsd_ut_fix

FreeBSD build fix

a7516ada53c8945558e244067d985d948063f0c3 authored about 6 years ago by Mark Nunberg <[email protected]>
FreeBSD build fix

d9fe8bdf67a33c24c75ffe8fffc033105ca83896 authored about 6 years ago by David Carlier <[email protected]>
Fix errors not propagating properly with libuv.h.

9ce15c4b39253792899cbbe338cee430811d0eb2 authored about 6 years ago by Yossi Gottlieb <[email protected]>
Update README.md

Add note about using context->data to pass user data to connect and disconnect callbacks

9ff1cc7826f6d546fc0fcdd7f08554e729a447a1 authored about 6 years ago by Jean Flach <[email protected]>
Merge pull request #620 from hacst/patch-1

Fix redisBufferRead documentation

970e5fa0a39693efdd89b1fc65c5472a0b7b4912 authored about 6 years ago by Michael Grunder <[email protected]>
Fix redisBufferRead documentation

Referred to redisContextReadReply which I cannot find in this codebase
nor the old redis-tools o...

169fcc708b4a001715bf2ba985e007875d829083 authored about 6 years ago by Stefan Hacker <[email protected]>
Merge pull request #578 from mnunberg/connfix

Proper error reporting for connect failures

67036ef70c9b332c51fe24489fc9f9cdaa09dbe3 authored over 6 years ago by Mark Nunberg <[email protected]>
Merge pull request #580 from charsyam/feature/fix-realloc

fix common realloc mistake and add null check more

747d78beaa66ef1666de7ea0153f2bc2504b8ee5 authored over 6 years ago by Mark Nunberg <[email protected]>
Merge pull request #614 from thomaslee/tom_cppflags

Add CPPFLAGS to REAL_CFLAGS

273fae1deaf2994f83e88c482a439557a68c6a40 authored over 6 years ago by Mark Nunberg <[email protected]>
Add CPPFLAGS to REAL_CFLAGS

3bcf286356f0780ff695c73a7dc178c1f970315b authored over 6 years ago by Tom Lee <[email protected]>
Update changelog for 0.14.0

fbf2d037e7de6b7b7f9177a2263a6113f99a7ceb authored over 6 years ago by michael-grunder <[email protected]>
Skip NXDOMAIN test when using evil ISPs

Some ISPs like to inject their own "Suggestions" page whenever you hit
NXDOMAIN. This confuses R...

3cb4fb2395919ff91d29c7ab66634f5211eaca89 authored over 6 years ago by Mark Nunberg <[email protected]>
Handle connection errors better in blocking mode as well

cbe4ae63aecee40674509a2bf23bc5db067e7f3d authored over 6 years ago by Mark Nunberg <[email protected]>
saddr should be addrlen bytes

Not sizeof saddr.

5e6bbf8c6075ce6406d424e7ed031c7a6c676fb2 authored over 6 years ago by Mark Nunberg <[email protected]>
Call connect(2) again for non-blocking connect

This retrieves the actual error which occurred, as getsockopt is not
always reliable in this reg...

49974c9359ad6b58cea15106cf6511bdb31d31a9 authored over 6 years ago by Mark Nunberg <[email protected]>
Merge pull request #612 from thomaslee/tom_release_prep

Prepare for the 0.14.0 release

685030652cd98c5414ce554ff5b356dfe8437870 authored over 6 years ago by Mark Nunberg <[email protected]>
Prepare for the 0.14.0 release

SONAME bumped to 0.14 because we've broken ABI compatibility with 0.13.x

29c82b728c0b61d35be09f45de03fb675e47a466 authored over 6 years ago by Tom Lee <[email protected]>
Merge pull request #610 from thomaslee/tom_static_string2ll

Make string2ll static to avoid conflict with redis

d153c1f3c0aa128d0b01ac136897052fd848244a authored over 6 years ago by Mark Nunberg <[email protected]>
Make string2ll static to avoid conflict with redis

See discussion on #609. This should also make it easier for redis to
update the vendored/bundled...

c3188bfb1fc59bd169b970ec159e1c9a2b949bf9 authored over 6 years ago by Tom Lee <[email protected]>
Use -dynamiclib instead of -shared on macOS

-dynamiclib is the correct documented flag to use to create dynamic
libraries on macOS. Newer to...

a65537a672de845f3f4530050d1e7bd88d51ac67 authored over 6 years ago by Ryan Schmidt <[email protected]>
Add Changelog entry about the integer parsing changes

This should have been included in
93421f9d84868989ab0e401fb3be7b31c7a9c181 but was missed.

Sign...

967027c881c8cf7c94d6f0223d079b9466c16cc0 authored over 6 years ago by Justin Brewer <[email protected]>
Add Changelog entry about the integer parsing changes

This should have been included in
93421f9d84868989ab0e401fb3be7b31c7a9c181 but was missed.

Sign...

300fc013c1559ece991abcbf886c86e807c36ba4 authored over 6 years ago by Justin Brewer <[email protected]>
Update createArray to take size_t

This makes createArray consistent with createString, which also takes
size_t. Bounds-check and u...

ef4256670f2c23bd3de3963c0dc4882599ac3300 authored over 6 years ago by Justin Brewer <[email protected]>
Don't overflow 32 bit machines in the tests!

33a36dc25b34bdc2abf02b5dbe21ec72712297b4 authored over 6 years ago by michael-grunder <[email protected]>
Add an integer parsing heavy workload to throughput testing

60f622b892a9ea0d0a4c31fb9c57f2a6f5c5ca61 authored over 6 years ago by michael-grunder <[email protected]>
Use string2ll from Redis

This commit pulls string2ll from Redis (with permission from Antirez)
as strtoll is 2-3x slower ...

7bef042c0375cd5189b77abb879ca2e3a8c4d6d4 authored over 6 years ago by michael-grunder <[email protected]>
Fix bulk and multi-bulk length truncation

processMultiBulkItem truncates the value read from readLongLong,
resulting in a corrupted state ...

109197585762986502d3a8fa628acc1b82b68cf3 authored over 6 years ago by Justin Brewer <[email protected]>
Properly detect integer parse errors

Badly formatted or out-of-range integers are now protocol errors.

Signed-off-by: Justin Brewer ...

93421f9d84868989ab0e401fb3be7b31c7a9c181 authored over 6 years ago by Justin Brewer <[email protected]>
Merge branch 'master' of github.com:redis/hiredis

dbde4f68cf2bef809dca5cb108e2827690d556b0 authored over 6 years ago by michael-grunder <[email protected]>
Make sure we've got a path separator before the actual dylib name

9d3b4ec703ee3d2d03920bc2dbb939d9598ca25d authored over 6 years ago by michael-grunder <[email protected]>
Merge remote-tracking branch 'ryandesign/install_name'

03938d7ad28c4e72d756867d7aaa2367270b2b88 authored over 6 years ago by michael-grunder <[email protected]>
Merge pull request #596 from ryandesign/cp-pPR

Use cp -pPR instead of cp -a

c5cb45642118136ebfdf8be4d58ad8d7952fbb8f authored over 6 years ago by Michael Grunder <[email protected]>
Use cp -pPR instead of cp -a

This should be equivalent but compatible with older versions of cp.

0e9af8acb6bbd5b77525f17883fad1a24fd828bd authored over 6 years ago by Ryan Schmidt <[email protected]>
Use absolute install_name

Fixes #437.

881fcb776d4237168f9ad4b2dd32c6ea902628ac authored over 6 years ago by Ryan Schmidt <[email protected]>
Merge remote-tracking branch 'justinbrewer/hiredis-pr1' into posix-build-fixes

7a1acdfeb58b3e3a84a7b5d34af5ec1daae0f603 authored over 6 years ago by michael-grunder <[email protected]>
Attempted fix for Cygwin to expose getaddrinfo and friends

c1af0e849d6387a4297a1e1066c107f6f72d8469 authored over 6 years ago by michael-grunder <[email protected]>
Merge remote-tracking branch 'hyjin/master'

fbc4971d7d49e9e39c3ba278be1ee9e99d00d41d authored over 6 years ago by michael-grunder <[email protected]>
Remove redundant zero stores

calloc is guaranteed to provide a zero-initialized buffer. There is
no need to set fields to zer...

54acc8f08759713338b6cb6c94916438bbd91b80 authored over 6 years ago by Justin Brewer <[email protected]>
Fix a segfault on *BSD

freeaddrinfo is not required by POSIX to be NULL-safe. OpenBSD will
SIGSEGV. NetBSD will assert....

546d9415e1806565b6c8f413c8873726c6aa049f authored over 6 years ago by Justin Brewer <[email protected]>
Drop __redis_strerror_r

Since _GNU_SOURCE is now guaranteed to be unset, it is no longer
necessary to support the GNU-sp...

d1c1b668c14dced57026aca936a57c2567f65107 authored over 6 years ago by Justin Brewer <[email protected]>
Remove redundant NULL checks

free(NULL) is a valid NOP. Most of the hiredis free functions behave the
same way. redisReaderFr...

58e6b87f51ba31b4a2954d0babe6b3cf7019c985 authored over 6 years ago by Justin Brewer <[email protected]>
Strip down fmacros.h

strerror_r and addrinfo require _POSIX_C_SOURCE >= 200112L, which is
implied by _XOPEN_SOURCE >...

49bbaacc79dc73ed797450aa94463106b18d2a5d authored over 6 years ago by Justin Brewer <[email protected]>
Use AF_UNIX

AF_LOCAL is the old, non-standardized name for AF_UNIX. Just use
AF_UNIX, rather than wrestling ...

bbeab80090556ef115b6e11c9bbab534b9ea7717 authored over 6 years ago by Justin Brewer <[email protected]>
fix common realloc mistake and add null check more

471557c3492d790ab54595609d60b98a040ece3c authored almost 7 years ago by charsyam <[email protected]>
Merge #569

569: Ibm aix fix r=badboy

3d8709d19d7fa67d203a33c969e69f0f1a4eab02 authored almost 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
Make it compile on IBM AIX systems

Closes #422

952a33f298f14775fae61675b2ff541abf24f63d authored almost 7 years ago by Jan-Erik Rediger <[email protected]>
Merge #568

568: Make XOPEN_SOURCE definition explicit per architecture r=badboy

Fixes #441

a827f5a8980cdebb0d06c5f7eb0d8736de960063 authored almost 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
Make XOPEN_SOURCE definition explicit per architecture

Fixes #441

94ed2e430b1180c296f7dcb327296c64d6260daa authored almost 7 years ago by Jan-Erik Rediger <[email protected]>
calloc param fixes and NULL check

9219556386a928f86ef38a36b081c7cf42d5e87a authored almost 7 years ago by [email protected] <[email protected]>
Merge pull request #561 from zshipko/master

Fix "make install" on OpenBSD

43284ee4958dbc7996e293a215d99f0051356f37 authored almost 7 years ago by Jan-Erik Rediger <[email protected]>
Merge pull request #564 from dmvo/master

Remove $(ARCH) expansion from the Makefile

abc60433e6af7de67cf4e04276b575e61290d301 authored almost 7 years ago by Jan-Erik Rediger <[email protected]>
Strip compiler options from the CC variable

The Makefile checks validity of the compiler command in the CC
variable by feeding the contents ...

12a9d1a32b567ad933ec62528ca4a476f514b5da authored about 7 years ago by Dmitri Vorobiev <[email protected]>
Remove $(ARCH) expansion from the Makefile

Some compilation environments (such as Yocto) define the ARCH
environment variable to indicate t...

3238cf4fe7c0799f997a6c77c42b3884dc4cfa0d authored about 7 years ago by Dmitri Vorobiev <[email protected]>
Fix "make install" on OpenBSD

a2ef2b69bf1660cca9440058be8635b1c32979b4 authored about 7 years ago by Zach Shipko <[email protected]>
Merge #554

554: build: do not assume that INSTALL is cp r=badboy

INSTALL is supposed to be `install` in mo...

07d414731b771844fba1c18303a2185948f9c0a9 authored about 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
chore: Build only branches bors needs

f861d9dc50a563692b76f675c39aa88c79580201 authored about 7 years ago by Jan-Erik Rediger <[email protected]>
build: do not assume that INSTALL is cp

INSTALL is supposed to be `install` in most of the cases which
doesn't work with directories, bu...

725a96aaa247cae90f46753ca85dadbf22a64e5f authored about 7 years ago by Igor Gnatenko <[email protected]>
Merge pull request #542 from EdwardBetts/spelling

correct spelling mistake

43d92c59f33fac87d778d1a7f49ee0db2ca09681 authored over 7 years ago by Jan-Erik Rediger <[email protected]>
correct spelling mistake

ea42d7e5f6e85723904de6484c3e9f193c0149ee authored over 7 years ago by Edward Betts <[email protected]>
Merge #533

533: Small fixes r=badboy

97d611e9b58ea5d26a203aafe5a586a00d1e380c authored over 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
Merge #524 #525

524: Don't pass a negative value to __redisAsyncCommand if redisFormatSdsCommandArgv fails r=bad...

74be165c8402739d329954ece50b1c4cfe9d1e16 authored over 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
Merge #523

523: Fix leak if setsockopt fails r=badboy

7d99652241a4609409f89f6a6fb4b24944a5accf authored over 7 years ago by not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com>
Merge pull request #532 from amallia/assert-side-effects

Assert statement calls a function which has side effects

4d8f3fb207aa63a44999f78bc089a19c846eb9a9 authored over 7 years ago by Jan-Erik Rediger <[email protected]>