- 08 Sep, 2014 4 commits
-
-
antirez authored
-
antirez authored
Because of the new ability to start with a truncated AOF, we need to correctly release all the memory on EOF error. Otherwise there is a small leak, that is not really a problem, but causes a false positive in the tests that detect memory leaks.
-
antirez authored
-
antirez authored
-
- 04 Sep, 2014 3 commits
-
-
antirez authored
-
antirez authored
The original implementation was modified in order to allow to selectively announce a different IP or port, and to rewrite the two options in the config file after a rewrite.
-
Dara Kong authored
There are instances such as EC2 where the bind address is private (behind a NAT) and cannot be accessible from WAN. https://groups.google.com/d/msg/redis-db/PVVvjO4nMd0/P3oWC036v3cJ
-
- 02 Sep, 2014 2 commits
-
-
Matt Stancliff authored
Previously, GETRANGE of a key containing nothing ("") would allocate a large (size_t)-1 return value causing crashes on 32bit builds when it tried to allocate the 4 GB return string.
-
Matt Stancliff authored
32 bit builds don't have a big enough long to capture the same range as a 64 bit build. If we use "long long" we get proper size limits everywhere. Also updates size of unsigned comparison to fit new size of `end`. Fixes #1981
-
- 01 Sep, 2014 2 commits
-
-
Matt Stancliff authored
We can save a little work by aborting when we enter the function if we're disconnected.
-
Paddy Byers authored
-
- 26 Aug, 2014 3 commits
-
-
antirez authored
Also related to #1929.
-
antirez authored
This closes issue #1929, the other part was fixed in the context of issue
-
antirez authored
This allows to support datasets with more than 2 billion of keys (possible in very large memory instances, this bug was actually reported). Closes issue #1814.
-
- 25 Aug, 2014 10 commits
-
-
antirez authored
-
antirez authored
-
Matt Stancliff authored
-
Matt Stancliff authored
We don't want scripts doing CLIENT SETNAME or CLIENT KILL or CLIENT LIST or CLIENT PAUSE. Originally reported by Chris Wj then proper action inspired by Itamar Haber. Reference: https://groups.google.com/forum/#!topic/redis-db/09B2EYwyVgk
-
Matt Stancliff authored
This just deletes old code that didn't get removed when logic changed. We were setting offsets that never got read anywhere. Since clients are now just cloned, we don't need to track per-client buffer offsets anywhere because they are all the same from the original client.
-
CharSyam authored
Closes #1097
-
Matt Stancliff authored
Clearly ip[32] is wrong, but it's less clear that buf[32] was wrong without further reading.
-
Eiichi Sato authored
Closes #1914
-
Matt Stancliff authored
Sentinel needs to die with a more accurate error message when attempted to open a config from STDIN. See: https://groups.google.com/forum/#!topic/redis-db/sYx7VNMWaNM
-
Matt Stancliff authored
This commit adds a size check after initial config line parsing to make sure we have *at least* 8 arguments per line. Also, instead of asserting for cluster->myself, we just test and error out normally (since the error does a hard exit anyway). Closes #1597
-
- 18 Aug, 2014 9 commits
-
-
Matt Stancliff authored
The continue stop us from triggering the free after the long line for loop, so add it earlier.
-
Matt Stancliff authored
It has an important name, but nothing uses it...
-
antirez authored
-
Cong Ding authored
Closes #878
-
David Palm authored
Also adds a fallthrough case for when given large values (like overflow numbers of 2^64 by mistake). Closes #858
-
yoav authored
Closes #857
-
Dov Murik authored
Fix redis-cli prompt to state "not connected" after a SHUTDOWN command is sent.
-
xiaoyu authored
d is more clear because the type of argument is dict not dictht Closes #513
-
Matt Stancliff authored
-
- 15 Aug, 2014 1 commit
-
-
antirez authored
The bug was found by @CAFxX, thanks! See issue #1940.
-
- 13 Aug, 2014 3 commits
- 12 Aug, 2014 3 commits
-
-
Pieter Noordhuis authored
Hat tip to @rfuchs. See: https://github.com/redis/hiredis/pull/178. Fixes #1187
-
charsyam authored
Also moves acceptHandler() to be near the other accept...() functions. Closes #1105
-
NanXiao authored
For some Solaris flavours, the inet_aton in in resolv library. Not linking this library will introduce link error. Improves compatability with older Solaris and still works on new Solaris. Closes #1092
-