Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-30 | redisReaderGetReply leak memory | qi.yang | |
2019-04-13 | Merge pull request #658 from jinjiazhang/master | Mark Nunberg | |
Fix Compile Error On Windows (Visual Studio) | |||
2019-04-13 | Fix Compile Error On Windows (Visual Studio) | jinjiazhang | |
2019-04-11 | fix blocking timeouts on SSL reads/writes | Mark Nunberg | |
2019-04-10 | build ssl example if ssl is enabled | Mark Nunberg | |
2019-04-10 | ensure that blocking timeout is set | Mark Nunberg | |
2019-04-02 | Merge pull request #652 from mbitsnbites/mingw-support | Mark Nunberg | |
Add MinGW support | |||
2019-04-01 | CMake: Minor modernization | m | |
Rely more on transitive dependencies, as provided by TARGET_LINK_LIBRARIES. Avoid using ADD_DEFINITIONS and INCLUDE_DIRECTORIES. This avoids leakage/pollution of defines and includes. | |||
2019-04-01 | Port network layer to Winsock | m | |
With this change, Hiredis builds with MinGW and runs on Windows. | |||
2019-04-01 | Use recv/send instead of read/write | m | |
The recv/send calls are more portable than read/write, since unlike the latter, the former work with Windows sockets. We also check for EWOULDBLOCK instead of EAGAIN. On most Unices, EAGAIN and EWOULDBLBOCK are the same thing. However, on Windows they are different, and send/recv are expected to give EWOULDBLOCK for non-blocking sockets. | |||
2019-04-01 | Introduce a redisFD type | m | |
The redisFD type should be equal to the system native socket file desciptor type (for POSIX, this is a plain int). We also introduce the REDIS_INVALID_FD value, which maps to -1 on POSIX systems. | |||
2019-04-01 | Move network I/O calls to net.c | m | |
This makes hiredis.c free from system calls related to socket I/O. This is also makes the treatment of raw socket connections more similar to the SSL backend. | |||
2019-03-31 | Merge pull request #653 from michael-grunder/bad-domain-test-fix | Mark Nunberg | |
Fix NXDOMAIN test case | |||
2019-03-31 | Fix NXDOMAIN test case | michael-grunder | |
As it turns out 'idontexist.com' actually does exist. | |||
2019-03-11 | Retain the same semantics for connection error on connection timeout | Mark Nunberg | |
This ensures that a disconnect occurs. This commit also ensures that disconnects will clean the socket even if the user is in no-auto-free mode | |||
2019-02-21 | Merge pull request #645 from redis/ssl | Mark Nunberg | |
SSL Support | |||
2019-02-21 | SSL: build in travis | Mark Nunberg | |
2019-02-21 | cmake: ssl disabled by default | Mark Nunberg | |
2019-02-21 | Allow option for async connections to not automatically free | Mark Nunberg | |
2019-02-21 | Fix ifeq condition (thanks @regae) | Mark Nunberg | |
2019-02-20 | Disable SSL by default | Mark Nunberg | |
2019-02-20 | gitignore: dSYM | Mark Nunberg | |
2019-02-20 | Remove redundant line after rebase | Mark Nunberg | |
2019-02-20 | fix redisLibeventEvents init | valentino | |
2019-02-20 | fix pkg config | valentino | |
2019-02-20 | fixed wrong memset args | Mark Nunberg | |
2019-02-20 | libevent: call destroy from cleanup | Mark Nunberg | |
also, indentation fix | |||
2019-02-20 | scrub redisContext before freeing | Mark Nunberg | |
This helps us detect use-after-free | |||
2019-02-20 | Add EV_PERSIST flag to read events | Mark Nunberg | |
This will avoid the need to constantly reschedule the event | |||
2019-02-20 | libevent: fix invalid mem access on delete within callback enter | Mark Nunberg | |
2019-02-20 | fix potential uninitialized read | Mark Nunberg | |
If callback was set before scheduleTimer was set (i..e before one of the attach()) calls. | |||
2019-02-20 | CMake: update for SSL | Mark Nunberg | |
2019-02-20 | Fix memory leaks | valentino | |
2019-02-20 | Support SNI | valentino | |
2019-02-20 | Fix compilation on Ubuntu | valentino | |
2019-02-20 | Unix: set addrlen so async reconnect uses proper size | Mark Nunberg | |
2019-02-20 | Don't warn on missing field initializers | Mark Nunberg | |
2019-02-20 | minor fixes: initialize options struct with 0 always | Mark Nunberg | |
also, clean up redisContextInit -- we're just zeoring the struct | |||
2019-02-20 | libevent-example: Use timeout | Mark Nunberg | |
2019-02-20 | Fix bug in options macro | Mark Nunberg | |
2019-02-20 | Allow connectWithOptions for async as well | Mark Nunberg | |
2019-02-20 | read/write timeouts | Mark Nunberg | |
2019-02-20 | Provide option-struct initialization | Mark Nunberg | |
This reduces the boilerplate of all the redisConnectXXX functions, and allows us to provide more connection options in the future. | |||
2019-02-20 | Use SSL by default | Mark Nunberg | |
2019-02-20 | Don't add dead code for HIREDIS_NOSSL | Mark Nunberg | |
We changed this to `HIREDIS_SSL` | |||
2019-02-20 | Minor SSL-related fixes | Mark Nunberg | |
2019-02-20 | Disable SSL by default | Mark Nunberg | |
2019-02-20 | SSL for async I/O | Mark Nunberg | |
2019-02-20 | Add SSL example | Mark Nunberg | |
2019-02-20 | Remove extra printfs | Mark Nunberg | |