1. 22 Jan, 2015 1 commit
    • antirez's avatar
      getRandomHexChars(): use /dev/urandom just to seed. · b25154a3
      antirez authored
      On Darwin /dev/urandom depletes terribly fast. This is not an issue
      normally, but with Redis Cluster we generate a lot of unique IDs, for
      example during nodes handshakes. Our IDs need just to be unique without
      other strong crypto requirements, so this commit turns the function into
      something that gets a 20 bytes seed from /dev/urandom, and produces the
      rest of the output just using SHA1 in counter mode.
      b25154a3
  2. 06 Oct, 2014 1 commit
    • Matt Stancliff's avatar
      Clean up text throughout project · bd62c952
      Matt Stancliff authored
        - Remove trailing newlines from redis.conf
        - Fix comment misspelling
        - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242)
        - Fix cluster typos (inspired by @papanikge #1507)
        - Fix rewite -> rewrite in a few places (inspired by #682)
      
      Closes #1243, #1242, #1507
      bd62c952
  3. 26 Aug, 2014 1 commit
  4. 23 Jul, 2014 2 commits
  5. 23 Apr, 2014 1 commit
    • Glauber Costa's avatar
      fix null pointer access with no file pointer · 0c8fdb34
      Glauber Costa authored
      I happen to be working on a system that lacks urandom. While the code does try
      to handle this case and artificially create some bytes if the file pointer is
      empty, it does try to close it unconditionally, leading to a segfault.
      0c8fdb34
  6. 24 Jul, 2013 1 commit
  7. 02 Jul, 2013 2 commits
  8. 08 Nov, 2012 1 commit
  9. 31 Jul, 2012 1 commit
    • Michael Parker's avatar
      Use correct variable name for value to convert. · f1d187bb
      Michael Parker authored
      Note by @antirez: this code was never compiled because utils.c lacked the
      float.h include, so we never noticed this variable was mispelled in the
      past.
      
      This should provide a noticeable speed boost when saving certain types
      of databases with many sorted sets inside.
      f1d187bb
  10. 08 Mar, 2012 1 commit
  11. 02 Jan, 2012 1 commit
  12. 16 May, 2011 1 commit
  13. 05 May, 2011 2 commits
  14. 01 May, 2011 1 commit
  15. 10 Mar, 2011 1 commit
  16. 08 Mar, 2011 1 commit
  17. 26 Aug, 2010 1 commit
  18. 01 Jul, 2010 1 commit
    • antirez's avatar
      redis.c split into many different C files. · e2641e09
      antirez authored
      networking related stuff moved into networking.c
      
      moved more code
      
      more work on layout of source code
      
      SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
      
      cleanly compiling again after the first split, now splitting it in more C files
      
      moving more things around... work in progress
      
      split replication code
      
      splitting more
      
      Sets split
      
      Hash split
      
      replication split
      
      even more splitting
      
      more splitting
      
      minor change
      e2641e09