summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-27Merge pull request #697 from yossigo/resp3Mark Nunberg
Port RESP3 support from Redis.
2019-08-27Merge pull request #699 from yossigo/silent-ssl-traceMark Nunberg
Silent SSL trace to stdout by default.
2019-08-13Merge pull request #670 from jman-krafton/masterMark Nunberg
fix timeout code in windows
2019-08-13Silent SSL trace to stdout by default.Yossi Gottlieb
2019-08-12add recv error code for clarifying timeoutSangmoon Yi
2019-08-12fix timeout code in windowsSangmoon Yi
2019-08-09Merge pull request #663 from mbitsnbites/mingw-support-2Mark Nunberg
Windows: MinGW fixes and Windows Travis builders
2019-08-09Travis: Add a Windows MSVC 2017 compilation testMarcus Geelnard
2019-08-09Travis: Add a MinGW cross compilation testMarcus Geelnard
2019-08-09MSVC: Fix some compiler warnings in sds.hMarcus Geelnard
2019-08-09MinGW fix: Use _MSC_VER instead of _WIN32 where appropriateMarcus 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-09Merge pull request #597 from justinbrewer/createArray-size_tMark Nunberg
Update createArray to take size_t
2019-08-09Merge branch 'master' into createArray-size_tMark Nunberg
2019-08-09Merge pull request #621 from Crunsher/masterMark Nunberg
Update README.md
2019-08-09Merge pull request #662 from dragonation/masterMark Nunberg
The setsockopt and getsockopt API diffs from BSD socket and WSA one
2019-08-09Merge pull request #665 from ghost/musl-test-compatMark Nunberg
test: fix errstr matching for musl libc
2019-08-09Merge pull request #671 from movebean/masterMark Nunberg
redisReaderGetReply leak memory
2019-08-09Merge pull request #684 from qlyoung/remove-unnecessary-nullcheckMark Nunberg
Remove unnecessary null check before free
2019-08-09Merge pull request #688 from kevin1018/patch-1Mark Nunberg
Add install adapters header files
2019-08-09Merge pull request #691 from Miniwoffer/masterMark Nunberg
Removed whitespace before newline
2019-08-04RESP3 support changes from Redis.Yossi Gottlieb
This corresponds to commits d5c54f0b..bea09a7f in the redis repository.
2019-08-04Initial RESP3 support [d5c54f0b].Yossi Gottlieb
2019-07-22Removed whitespace before newlineOdin Hultgren Van Der Horst
- Removed whitespace before newline - Removed win style newline
2019-07-17Add install adapters header fileskevin1018
2019-07-03Remove unnecessary null check before freeQuentin Young
2019-05-30redisReaderGetReply leak memoryqi.yang
2019-05-14test: fix errstr matching for musl libcEivind Uggedal
This makes the tests pass on musl[1] based distros like Alpine Linux. [1]: https://www.musl-libc.org/
2019-05-13remove useless type castingMinun Dragonation
2019-05-05fix bugs on socket timeout tv usec calculationMinun Dragonation
2019-05-05fix bugs for optlen output on size not big enough for timeout eventsMinun Dragonation
2019-05-05fix bugs on ref address incorrect on sockcompact with getsockoptMinun Dragonation
2019-05-05fix bugs of setsockopt diff in win compact implementationMinun Dragonation
2019-04-13Merge pull request #658 from jinjiazhang/masterMark Nunberg
Fix Compile Error On Windows (Visual Studio)
2019-04-13Fix Compile Error On Windows (Visual Studio)jinjiazhang
2019-04-11fix blocking timeouts on SSL reads/writesMark Nunberg
2019-04-10build ssl example if ssl is enabledMark Nunberg
2019-04-10ensure that blocking timeout is setMark Nunberg
2019-04-02Merge pull request #652 from mbitsnbites/mingw-supportMark Nunberg
Add MinGW support
2019-04-01CMake: Minor modernizationm
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-01Port network layer to Winsockm
With this change, Hiredis builds with MinGW and runs on Windows.
2019-04-01Use recv/send instead of read/writem
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-01Introduce a redisFD typem
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-01Move network I/O calls to net.cm
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-31Merge pull request #653 from michael-grunder/bad-domain-test-fixMark Nunberg
Fix NXDOMAIN test case
2019-03-31Fix NXDOMAIN test casemichael-grunder
As it turns out 'idontexist.com' actually does exist.
2019-03-11Retain the same semantics for connection error on connection timeoutMark 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-21Merge pull request #645 from redis/sslMark Nunberg
SSL Support
2019-02-21SSL: build in travisMark Nunberg
2019-02-21cmake: ssl disabled by defaultMark Nunberg
2019-02-21Allow option for async connections to not automatically freeMark Nunberg