Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-09 | MinGW fix: Use _MSC_VER instead of _WIN32 where appropriate | Marcus Geelnard | |
Use _MSC_VER (instead of _WIN32) for things that are specific for Visual Studio. Also remove #include <winsock2.h> from hiredis.h, as it leaks too many symbols and defines into the global namespace, which is undesirable for a public interface header. Anyone who uses the the affected parts of the hiredis API needs to include the appropriate headers anyway in order to declare struct timeval variables. | |||
2019-08-09 | Merge pull request #597 from justinbrewer/createArray-size_t | Mark Nunberg | |
Update createArray to take size_t | |||
2019-08-09 | Merge branch 'master' into createArray-size_t | Mark Nunberg | |
2019-08-09 | Merge pull request #621 from Crunsher/master | Mark Nunberg | |
Update README.md | |||
2019-08-09 | Merge pull request #662 from dragonation/master | Mark Nunberg | |
The setsockopt and getsockopt API diffs from BSD socket and WSA one | |||
2019-08-09 | Merge pull request #665 from ghost/musl-test-compat | Mark Nunberg | |
test: fix errstr matching for musl libc | |||
2019-08-09 | Merge pull request #671 from movebean/master | Mark Nunberg | |
redisReaderGetReply leak memory | |||
2019-08-09 | Merge pull request #684 from qlyoung/remove-unnecessary-nullcheck | Mark Nunberg | |
Remove unnecessary null check before free | |||
2019-08-09 | Merge pull request #688 from kevin1018/patch-1 | Mark Nunberg | |
Add install adapters header files | |||
2019-08-09 | Merge pull request #691 from Miniwoffer/master | Mark Nunberg | |
Removed whitespace before newline | |||
2019-07-22 | Removed whitespace before newline | Odin Hultgren Van Der Horst | |
- Removed whitespace before newline - Removed win style newline | |||
2019-07-17 | Add install adapters header files | kevin1018 | |
2019-07-03 | Remove unnecessary null check before free | Quentin Young | |
2019-05-30 | redisReaderGetReply leak memory | qi.yang | |
2019-05-14 | test: fix errstr matching for musl libc | Eivind Uggedal | |
This makes the tests pass on musl[1] based distros like Alpine Linux. [1]: https://www.musl-libc.org/ | |||
2019-05-13 | remove useless type casting | Minun Dragonation | |
2019-05-05 | fix bugs on socket timeout tv usec calculation | Minun Dragonation | |
2019-05-05 | fix bugs for optlen output on size not big enough for timeout events | Minun Dragonation | |
2019-05-05 | fix bugs on ref address incorrect on sockcompact with getsockopt | Minun Dragonation | |
2019-05-05 | fix bugs of setsockopt diff in win compact implementation | Minun Dragonation | |
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. |