1. 16 Apr, 2019 1 commit
    • Mark Nunberg's avatar
      more test fixes: · 64da57e0
      Mark Nunberg authored
      - include "main" test file which can be configured through various
        options
      - include sample ssl test files
      - add boilerplate async test
      64da57e0
  2. 15 Apr, 2019 2 commits
  3. 11 Apr, 2019 1 commit
  4. 10 Apr, 2019 2 commits
  5. 02 Apr, 2019 1 commit
  6. 01 Apr, 2019 6 commits
    • m's avatar
      CMake: Minor modernization · e38cd755
      m authored
      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.
      e38cd755
    • m's avatar
      Port network layer to Winsock · dc6d19b9
      m authored
      With this change, Hiredis builds with MinGW and runs on Windows.
      dc6d19b9
    • m's avatar
      Use recv/send instead of read/write · 1d092a23
      m authored
      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.
      1d092a23
    • m's avatar
      Introduce a redisFD type · e84086cb
      m authored
      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.
      e84086cb
    • m's avatar
      Move network I/O calls to net.c · 1788f41f
      m authored
      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.
      1788f41f
    • Mark Nunberg's avatar
      Merge pull request #653 from michael-grunder/bad-domain-test-fix · 1c43a382
      Mark Nunberg authored
      Fix NXDOMAIN test case
      1c43a382
  7. 31 Mar, 2019 1 commit
  8. 11 Mar, 2019 1 commit
  9. 21 Feb, 2019 5 commits
  10. 20 Feb, 2019 20 commits