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

Define _POSIX_C_SOURCE for Solaris

1ac7121f65bd6a6fd7a611e3024b69736f9c46a3 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Fix compiler warnings

e0d5c71277b43b9d9f3db449e83dcb48f3fb8b55 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Use getaddrinfo(3) in redisContextConnectTcp.

Change redisContextConnectTcp() function to use getaddrinfo(3) to
perform address resolution, so...

3afe2585de94e82fd83c2b6a5534cf1e008dd083 authored over 13 years ago by Geoff Garside <[email protected]>
Add redisSetReuseAddr(c, fd) static function.

Extract setting SO_REUSEADDR socket option into separate function
so the same code can be more e...

b4664b41c71fbcd7cda8644fd5e26ebf479d5df0 authored over 13 years ago by Geoff Garside <[email protected]>
Fix for issue #45

5f5b3d9787198bca6724b576ed778acd89c072db authored over 13 years ago by Pieter Noordhuis <[email protected]>
Flag to disable throughput tests

159a83ab8a6699c9a4c073a943a774baf1116f97 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Exit with a non-zero status when tests failed

7a8de1fe25dda6187d68ec6570a831394cb127d1 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Clarify rationale behind issue #43

1c29aafd4701b92cd743a1635af640f1f3330689 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Make sure subscribe is still respected

63dcf9b741b5b1f7eebbcefab47b755a3fc0a9e2 authored over 13 years ago by Blake Matheny <[email protected]>
Fix the case where an error reply is received before any callbacks are registered

72688572548655cbd16178ae096f5d4b73ed03dc authored over 13 years ago by Blake Matheny <[email protected]>
Test against unix socket connection in make check target

82ad944412419c6ae946f11e7d9760a584c1c1cd authored over 13 years ago by Pieter Noordhuis <[email protected]>
More control over host/port and unix path in test.c

9723a4fc466e5df387798f73a5da1d804f7ea52e authored over 13 years ago by Pieter Noordhuis <[email protected]>
Add "make check" target (useful for automated tests).

While there, add "-p" option to "hiredis-test", so that we could run
tests without interrupting ...

5793b999a956806f886879fb475e19edd5a98b72 authored over 13 years ago by Piotr Sikora <[email protected]>
Add note about freeReplyObject and the asynchronous API

875a20939932045ccae4fc6a67db7c26d94f658d authored over 13 years ago by Pieter Noordhuis <[email protected]>
Remove TODO

d90dca1e810e96adf035c28d215d203e0bdfcea7 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Add function to retrieve formatted reply

This is done by only truncating the read buffer once a full reply has
been read. The buffer is n...

77540aa31694aa1e14d41f60a0452e49a2fed86a authored over 13 years ago by Pieter Noordhuis <[email protected]>
cp on Solaris doesn't have -a

df203bc328fb4ff9d19c591b8ec31f62d5ef9dae authored over 13 years ago by Pieter Noordhuis <[email protected]>
Add versioned symlinks for install target

81c00aab3233e9465eef6d6684553f5aa57288b6 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Solaris needs the static lib as last argument

dd9f0810dccd45d1980bbadd8c6b226b5dee0b4b authored over 13 years ago by Pieter Noordhuis <[email protected]>
Bump version to 0.10.0

6d026b70d0795181ae2fe3c4c96c84461b4be0b5 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Move OBJ argument

1381e22db1c1acd6f4b308570ce594eb59f7df76 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Braces -> parentheses

595f2f88ddbaf35194e38aac21467946ea41eeb8 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Separate basename and suffix for library filename

721e390de524dce95de4fc71d8bd5275006c4728 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Configurable paths for install target

5c205359d9e0f8e03877b2a856473593f0117cf0 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Merge branch 'ardsrk-master'

ea893c09d369a02a0b544b337d566fa9f981cd2b authored over 13 years ago by Pieter Noordhuis <[email protected]>
Reformat and add some details

e8460b5ff34576b4e8c987a3457e4fcf9d632c8a authored over 13 years ago by Pieter Noordhuis <[email protected]>
Remove rpath from linker flags; link artifacts statically

4feec1f252b87b43b5a480c0918297a15ffd8f9e authored over 13 years ago by Pieter Noordhuis <[email protected]>
Remove util.h from Makefile

8f27c9684a12df138c97be0633d0c734172072aa authored over 13 years ago by Pieter Noordhuis <[email protected]>
Update license

0cb7c27d9cfafe83acb9c309a0f913b8993f82b5 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Let the async API segfault on OOM for now

f3f02b64195e970c44562ce97406045aa1d34986 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Move chrtos to hiredis.c (not used elsewhere)

c9dc93e1de1f7561fe900787594ef64854bc121d authored over 13 years ago by Pieter Noordhuis <[email protected]>
Handle OOM when doing blocking requests

8419b060f2af3610e472cdb0231539bbb11636d1 authored over 13 years ago by Pieter Noordhuis <[email protected]>
More safety

e932709a66829968e441a0f221af6d737ea239cb authored over 13 years ago by Pieter Noordhuis <[email protected]>
Fix sdscatrepr

ebb690ea9991cb63f81b4b38b55643823e48251b authored over 13 years ago by Pieter Noordhuis <[email protected]>
Make command formatters gracefully abort when out of memory

dd5fc26457017aaf6981a99cc07c04df2a8fe3c2 authored over 13 years ago by Pieter Noordhuis <[email protected]>
More OOM checks in the protocol reader

d4ebb60d65499ca5e2290eedcd02beb4736771ca authored over 13 years ago by Pieter Noordhuis <[email protected]>
Don't abort on OOM in sds.c

ac9fb4993bfbc37477c772db9c7ae934012c8e85 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Only use C99 for compiling hiredis itself

The libevent example cannot be compiled when -std=c99 is passed. It is
not necessary that the ad...

75bc8595c72fba7bd77ac99249d49d3ade1ef7fd authored over 13 years ago by Pieter Noordhuis <[email protected]>
sys/types.h is included by libevent itself

eb63a565e922142c9250b664b118bb0f11bf3aeb authored over 13 years ago by Pieter Noordhuis <[email protected]>
Include fmacros.h to make sure strerror_p is defined on Linux

df1d693b03702bb825b1570bcd67a0bb590978d1 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Reflect rename in tests

19709152f2a4d43de0d1c93b2a231f1464de3b24 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Rename *ReplyReader* to *Reader*

965d42640f2f707ca103edeb758bde83ca8cfe9b authored over 13 years ago by Pieter Noordhuis <[email protected]>
Use static buffer for error string on context

0ee7c66818e15fc2efacaa97fc01fc46055f7d27 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Recompile net.c when hiredis.h changes

7f113606049c1b7aa790b4b7d7c735662620cae6 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Create protocol reader when creating context

6d207ea98ec6de086cb48c259fd3cac786f699ec authored over 13 years ago by Pieter Noordhuis <[email protected]>
Move prototypes around in header

58caf62a527173ffb861177037ace344db3caf19 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Reply object functions can be set by the user after creating the reader

a9262322938d04226be2410aa20460a31d4a4a51 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Privdata can be set directly on the struct

5ba49014da410b3e671c341469ac372d6a383822 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Remove useless casts

2002218981c4aa6ab8a55e9513962adc2268b657 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Return when memory cannot be allocated

e1abacb7b48b1d2c860baacabd1bbc5aa1cac30d authored over 13 years ago by Pieter Noordhuis <[email protected]>
Remove accessor functions now the redisReader struct is public

026636b0cd4baf5ff90b607118b6b4394edcdd05 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Move definitions around

f0307c61724c19fa4b1788f7b6b3ca83387ea8be authored over 13 years ago by Pieter Noordhuis <[email protected]>
Forward declaration is not necessary

41d4d9c6f4493fc2d69ddee6123bee8cef01020f authored over 13 years ago by Pieter Noordhuis <[email protected]>
Make redisReader struct public

727e1babeccc40c9823e477df3de9986cf172659 authored over 13 years ago by Pieter Noordhuis <[email protected]>
State should not be reset after protocol error

fc790ebea63d122066180b255e6a3b980b37f73e authored over 13 years ago by Pieter Noordhuis <[email protected]>
Test if there is a freeObject function

26588f50074baf2b953468cd37405444bd4db179 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Use pre-allocated buffer for error strings in reader

eaf58bd32a56adab5252f380df627a7c31d121f2 authored over 13 years ago by Pieter Noordhuis <[email protected]>
First pass at making the protocol reader properly handle OOM

5d78214557f043ee135ef898f4738a93bbcbe525 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Use variable for throughput test iteration count

178024244d4040a4c760527bb58fcf5bdc962b02 authored over 13 years ago by Pieter Noordhuis <[email protected]>
Inline sdslen and sdsavail (thanks to @bitbckt)

cd7063e85b3f7b32f7e37585615d4180a1188cba authored over 13 years ago by Pieter Noordhuis <[email protected]>
Updated README with details about reply parsing API

8bc96ea0e3303be93b88391dc7a842c016656957 authored over 13 years ago by Arvind Laxminarayan <[email protected]>
Work with make v3.80

d5b18b5d2878255440b9f8f73f4613190d3376b0 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Lazily destroy protocol reader buffer

421eec9a4dc6bb6b6fc17b9f6a923963f7623850 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Individual reply object functions may be NULL

921150fc8a94276cb9a8d76d80f82a5872e29139 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Add pipelined throughput tests

b4f85484eac7d469ec332045b7a28b0639ab468b authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Update fmacros.h

aeeea0076d578ca8662a03a36e05f9c2face30f3 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Fix formatCommand to work with all empty interpolations

8e2c39200d2a643180b1bc07aaa234056d5354f4 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Typo fix

bf544ce81c55f6ae64470efeec04f368dec9ac3d authored almost 14 years ago by Elnatan <[email protected]>
Fix copying timeval for timeout

36f73fdb0c8756a53cb7129835d54ab240b911a4 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Use select(2) for enforce a timeout on blocking connect(2)

2fc0d8756e547dcc10f5337d2e60d2b91da6e467 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Properly reset state after protocol error in reply reader

663d6d1258b3ef49178ed4120de5c91ecffe2512 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
redisReplyReaderFeed should take a const char*

864bce944be1331c70ed353aeb083607c2a31acc authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Avoid warnings with -Wstrict-prototypes

fbe756d8389ea0b6966fbf9bd48d27253eed5a3a authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Let sds.c figure out where the range stops

3e8cbd53cf2190d33ef8b8e005e5dcc60b6748de authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Discard consumed part of buffer less often

f6a501001c18867d08b2ce222d177b8cf6c62a3a authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Add testhelp.h inline in sds.c

5962a2de17b274a9313e87f33fbc7ba17d1dbd83 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Update string library

7aa5fa102eec898c5768342d93858650ce5563b8 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Make dictionary functions static and include the .c file

c6b8bd77c0fe00dbc455b39208f15761178160a3 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Correct the description of the pipeline example

7adfef1680a7e8d93c29c0c15977a95febdcf473 authored almost 14 years ago by Pierre Riteau <[email protected]>
strcasecmp and strncasecmp are defined in strings.h

4def8569b8728e4a76ce60d693f06b04cd471155 authored almost 14 years ago by Pierre Riteau <[email protected]>
Return error on socket timeout for a blocking context

43ab0f8018610efd8ca8ec146b4857f0b3298fb1 authored almost 14 years ago by Pieter Noordhuis <[email protected]>
Add fields for subscribed channel/pattern names

e6621d05b4b7a2bcc866757255297012b749dbac authored about 14 years ago by Pieter Noordhuis <[email protected]>
Unsubscribe messages always have 3 elements

ec922cd0075eee0628ee28857541900a496ea9e1 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Remove unused code/cleanup

b758e52e44580c45dd863ba884613fcd9ec61a71 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Replace zmalloc with regular malloc

4e8c8e74ee7727e1b2b671504fabd72e7e96dbdf authored about 14 years ago by Pieter Noordhuis <[email protected]>
Delegate pub/sub replies to the right callback

a0ebc5417f8cabaef74c8b7bebb4f308562b4c27 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add callbacks to channel/pattern dictionaries

3ac8ef927d86df1d7ff1a6546fe590d9bcc0bbd3 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Import dictionary code from Redis repository (as of 2069d06a)

5703dfc30692c400fef086c1492424d005c6b20c authored about 14 years ago by Pieter Noordhuis <[email protected]>
Clean up dictionaries on free

ed97945c27042bcec83792dfd855a3eed1a59011 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Change reply processing code to prepare for pub/sub

3ce8d5b08b5d13f550983048ee89293e9f6897ca authored about 14 years ago by Pieter Noordhuis <[email protected]>
Copy entire callback in one call

2d53a6a7110b6d28226f653d9f4c94082205017a authored about 14 years ago by Pieter Noordhuis <[email protected]>
License

a020db30130e47cec2085daa2824df9f9c115d60 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Scope event library related data and hooks to a struct

18c55a8f1e93aaa4df6c970333ad3d691e3438b0 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Run pending callbacks with a NULL reply on redisAsyncFree()

8cb4d52cd273d6134f881c232a307c3259af334a authored about 14 years ago by Pieter Noordhuis <[email protected]>
Fix the async free() and disconnect() functions

To make sure that these functions can also be called from functions
other than command callbacks...

29ea901b243265b209271775540d22701f337d57 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Only check REDIS_FREEING when a callback was executed

c882a3621a7354316b6bd9595edf096ff850a1a9 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add function to explicitly free an async context

e3776bfaa65bf40a7c43917c6985f0d83c1afd76 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Add write event after setting connect callback

3d76f3fe02c8fa4eac1bb2fb266897f69f159ee8 authored about 14 years ago by Pieter Noordhuis <[email protected]>
Missing declaration.

2c17d2e22163437a6d4ee1ab41f401115468bbad authored about 14 years ago by Nicolas Favre-Felix <[email protected]>
Bump version

0fbfa45f232201093de0fcfd9d6c60a3b47e9642 authored about 14 years ago by Pieter Noordhuis <[email protected]>