1. 08 Sep, 2022 1 commit
  2. 07 Sep, 2022 2 commits
  3. 06 Sep, 2022 1 commit
    • Björn Svensson's avatar
      Fix pkgconfig for hiredis_ssl · 855b48a8
      Björn Svensson authored
      Respect an overridden libdir when installing using CMake.
      CMake now generates the hiredis_ssl.pc file with the correct
      result in `libdir` and `Libs`.
      
      See #767 and CMakes `CMAKE_INSTALL_LIBDIR`
      855b48a8
  4. 05 Sep, 2022 1 commit
    • Michael Grunder's avatar
      Fix protocol error (#1106) · 79ae5ffc
      Michael Grunder authored
      
      
      Fix ProtocolError
      
      This commit attempts to fix hiredis such that a recoverable write error
      will be retried rather than throwing a hard error.
      
      Since our read/write functions are now behind function pointers, we
      specify semantically that a return value of < 0 is a hard error, 0 a
      recoverable error, and > 0 a success.
      
      Our default `redisNetRead` function was already doing something similar
      so this also improves code consistency.
      
      Resolves #961
      Co-authored-by: default avatarMaksim Tuleika <maksim.tuleika@appcast.io>
      79ae5ffc
  5. 03 Sep, 2022 1 commit
    • Michael Grunder's avatar
      Use a windows specific keepalive function. (#1104) · 61b5b299
      Michael Grunder authored
      Use a windows specific keepalive function.
      
      While it is possible to toggle `TCP_KEEPALIVE` in windows via
      setsockopt, you have to use `WSAIoctl` to set the interval.
      
      Since `WSAIoctl` can actually do all of this in one call (toggle the
      option, and set the corresponding interval), just use that in Windows
      and avoid the call to `setsockopt` alltogether.
      
      Fixes: #1100
      61b5b299
  6. 02 Sep, 2022 3 commits
  7. 01 Sep, 2022 7 commits
  8. 31 Aug, 2022 1 commit
  9. 30 Aug, 2022 1 commit
  10. 29 Aug, 2022 11 commits
  11. 26 Aug, 2022 3 commits
  12. 19 Aug, 2022 1 commit
  13. 17 Aug, 2022 1 commit
  14. 16 Aug, 2022 1 commit
  15. 15 Aug, 2022 1 commit
    • Stan Hu's avatar
      Make it possible to set SSL verify mode · 71119a71
      Stan Hu authored
      If no SSL certificates are provided, many Redis clients default to
      disabling SSL peer verification. Previously it was a bit cumbersome to
      configure this because the client would either have to reimplement
      `redisCreateSSLContext()` or reach into the internals to set the
      OpenSSL verify mode.
      
      We can improve the SSL API by introducing a
      `redisCreateSSLContextWithOptions()` call that takes into structured
      parameters for SSL initialization. This structure contains a verify
      mode that is used to set the OpenSSL verify mode.
      
      Relates to https://github.com/redis/hiredis/issues/646
      71119a71
  16. 10 Aug, 2022 3 commits
  17. 05 Aug, 2022 1 commit