hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

Minimalistic C client for Redis >= 1.2

Results 135 hiredis issues
Sort by recently updated
recently updated
newest added

We have nss-mdns (http://0pointer.de/lennart/projects/nss-mdns/#documentation) deployed in our system and publish IPv6 address with DNS via avahi-publish. The problem that we realize redis connect via redis-cli takes much time(several seconds). The...

wishlist

I see the __redisAsyncDisconnect called by the redisHandleTimeout function: ``` void redisAsyncHandleTimeout(redisAsyncContext *ac) { redisContext *c = &(ac->c); redisCallback cb; ... /** * TODO: Don't automatically sever the connection, *...

async
wishlist

This is not really a hiredis direct issue, but the way in which sockets are being closed in hiredis library. In the redisFree() function, we have a close() on the...

The hiredis.pc file generation section: $(PKGCONFNAME): hiredis.h @echo "Generating $@ for pkgconfig..." @echo prefix=$(PREFIX) > $@ @echo exec_prefix=\$${prefix} >> $@ @echo libdir=$(PREFIX)/$(LIBRARY_PATH) >> $@ @echo includedir=$(PREFIX)/$(INCLUDE_PATH) >> $@ @echo >>...

Currently commands and replies are stored entirely in memory, which is very inefficient for large commands/replies that would anyway be streamed to some file/other socket/etc. Ideally a streaming API should...

``` /* If epoll is in EPOLLET mode, all contents of the Socket cache should be read at one time. */ int redisBufferRead(redisContext *c) { char buf[1024*16]; int nread; if...

Allow C++ users to deal with hiredis in a slightly more idiomatic manner

When `fork`ing and `exec`ing, file descriptors get leaked to the child process, which is not always ideal. One can always call `fcntl` and set `O_CLOEXEC` after establishing a connection, but...

Think it is related: SO_RCVTIMEO might not be supported on Solaris 10? http://unix.stackexchange.com/questions/62859/default-value-for-so-rcvtimeo-option-on-solaris [root@TweedleDee]/export/home/jvdv/hiredis/hiredis> uname -a SunOS TweedleDee 5.10 Generic_142909-17 sun4u sparc SUNW,Sun-Fire-V245 [root@TweedleDee]/export/home/jvdv/hiredis/hiredis> gcc -v Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/specs...

In asynchronous mode it is possible to associate a pointer to a given command execution. When the reply arrives, a copy of the pointer is passed as argument to the...

ng
async