1. 07 Oct, 2019 1 commit
    • Yossi Gottlieb's avatar
      TLS: Connections refactoring and TLS support. · b087dd1d
      Yossi Gottlieb authored
      * Introduce a connection abstraction layer for all socket operations and
      integrate it across the code base.
      * Provide an optional TLS connections implementation based on OpenSSL.
      * Pull a newer version of hiredis with TLS support.
      * Tests, redis-cli updates for TLS support.
      b087dd1d
  2. 11 Sep, 2019 1 commit
  3. 06 Sep, 2019 1 commit
  4. 05 Sep, 2019 2 commits
  5. 04 Sep, 2019 3 commits
    • antirez's avatar
      redis-cli: always report server errors on read errors. · 12c56a8e
      antirez authored
      Before this commit we may have not consumer buffers when a read error is
      encountered. Such buffers may contain errors that are important clues
      for the user: for instance a protocol error in the payload we send in
      pipe mode will cause the server to abort the connection. If the user
      does not get the protocol error, debugging what is happening can be a
      nightmare.
      
      This commit fixes issue #3756.
      12c56a8e
    • antirez's avatar
      AOF: be future-proof and close the file pointer. · f7090f43
      antirez authored
      Currently useless but we release the fake client, so better to do a full
      cleanup. Thanks to @TomMD reporting this in #6353.
      f7090f43
    • antirez's avatar
      Rio: fix flag name, function is never used btw. · b2e10131
      antirez authored
      Thanks to @tnclong for reporting the problem.
      b2e10131
  6. 02 Sep, 2019 2 commits
  7. 31 Aug, 2019 2 commits
  8. 07 Aug, 2019 1 commit
  9. 05 Aug, 2019 1 commit
  10. 02 Aug, 2019 1 commit
  11. 31 Jul, 2019 3 commits
  12. 30 Jul, 2019 1 commit
  13. 29 Jul, 2019 1 commit
  14. 28 Jul, 2019 1 commit
  15. 24 Jul, 2019 2 commits
  16. 23 Jul, 2019 5 commits
  17. 22 Jul, 2019 9 commits
  18. 19 Jul, 2019 1 commit
  19. 18 Jul, 2019 2 commits
    • antirez's avatar
      RDB: make sure to abort on LZF encoding error. · 5f450e49
      antirez authored
      5f450e49
    • antirez's avatar
      RDB: handle encoding errors with rdbExitReportCorruptRDB(). · bd0f06c1
      antirez authored
      Without such change, the diskless replicas, when loading RDB files from
      the socket will not abort when a broken RDB file gets loaded. This is
      potentially unsafe, because right now Redis is not able to guarantee
      that encoding errors are safe from the POV of memory corruptions (for
      instance the LZF library may not be safe against untrusted data?) so
      better to abort when the RDB file we are going to load is corrupted.
      
      Instead I/O errors are still returned to the caller without aborting,
      so that in case of short read the diskless replica can try again.
      bd0f06c1