- 03 6月, 2015 1 次提交
-
-
由 antirez 提交于
-
- 29 4月, 2015 1 次提交
-
-
由 antirez 提交于
This fixes issue #2535, that was actually an hiredis library bug (I submitted an issue and fix to the redis/hiredis repo as well). When an asynchronous hiredis connection subscribes to a Pub/Sub channel and gets an error, and in other related conditions, the function redisProcessCallbacks() enters a code path where the link is disconnected, however the function returns before freeing the allocated reply object. This causes a memory leak. The memory leak was trivial to trigger in Redis Sentinel, which uses hiredis, every time we tried to subscribe to an instance that required a password, in case the Sentinel was configured either with the wrong password or without password at all. In this case, the -AUTH error caused the leaking code path to be executed. It was verified with Valgrind that after this change the leak no longer happens in Sentinel with a misconfigured authentication password.
-
- 03 1月, 2015 1 次提交
-
-
由 Matt Stancliff 提交于
This also defines REDIS_STATIC='' for building everything inside src/ and everything inside deps/lua/.
-
- 13 12月, 2014 1 次提交
-
-
由 antirez 提交于
It fixes a bad bug that crashes the server in certain conditions as shown in issue #2210.
-
- 05 12月, 2014 1 次提交
-
-
由 antirez 提交于
Thanks to @badboy for the help in checking the build after the fix.
-
- 25 11月, 2014 1 次提交
-
-
由 Matt Stancliff 提交于
This syncs lua-cmsgpack with the mattsta/lua-cmsgpack upstream. Fixes #2161
-
- 15 11月, 2014 5 次提交
-
-
由 antirez 提交于
-
由 Matt Stancliff 提交于
Main reasons for upgrade: - Remove a warning when building Redis - Add multi pack/unpack - Improve memory usage and use Lua allocator properly - Fix some edge case encoding/decoding bugs
-
由 Matt Stancliff 提交于
clang doesn't like "extern inline" when no definition is given right away.
-
由 Matt Stancliff 提交于
cjson calls isinf, but some Solaris versions don't have isinf even with the attempted fix we have in deps/Makefile. We can harmlessly include the Redis solarisfixes.h header to give cjson proper isinf. Note: cjson has a compile-time setting for using their own defined isinf, but the Redis definition in solarisfixes.h is more complete. Fixes antirez#1620
-
由 Matt Stancliff 提交于
The new cjson has some improvements over our current version including increased platform compatability, a new resource limit to restrict decode depth, and better invalid number handling. One minor change was required to deps/Makefile because this version of cjson doesn't export itself globally, so we added a quick little define of -DENABLE_CJSON_GLOBAL. cjson now has an optional higher performing float parsing interface, but we are not including it (g_fmt.c, dtoa.c) because it requires endianness declaration during compile time. This commit is exactly lua_cjson.c from 2.1.0 with one minor change of altering the two Lua includes for local search instead of system-wide importing.
-
- 09 10月, 2014 1 次提交
-
-
由 Matt Stancliff 提交于
A few people have written custom C commands because bit manipulation isn't exposed through Lua. Let's give them Mike Pall's bitop. This adds bitop 1.0.2 (2012-05-08) from http://bitop.luajit.org/ bitop is imported as "bit" into the global namespace. New Lua commands: bit.tobit, bit.tohex, bit.bnot, bit.band, bit.bor, bit.bxor, bit.lshift, bit.rshift, bit.arshift, bit.rol, bit.ror, bit.bswap Verification of working (the asserts would abort on error, so (nil) is correct): 127.0.0.1:6379> eval "assert(bit.tobit(1) == 1); assert(bit.band(1) == 1); assert(bit.bxor(1,2) == 3); assert(bit.bor(1,2,4,8,16,32,64,128) == 255)" 0 (nil) 127.0.0.1:6379> eval 'assert(0x7fffffff == 2147483647, "broken hex literals"); assert(0xffffffff == -1 or 0xffffffff == 2^32-1, "broken hex literals"); assert(tostring(-1) == "-1", "broken tostring()"); assert(tostring(0xffffffff) == "-1" or tostring(0xffffffff) == "4294967295", "broken tostring()")' 0 (nil) Tests also integrated into the scripting tests and can be run with: ./runtest --single unit/scripting Tests are excerpted from `bittest.lua` included in the bitop distribution.
-
- 06 10月, 2014 1 次提交
-
-
由 antirez 提交于
-
- 29 9月, 2014 2 次提交
-
-
由 Aaron Rutkovsky 提交于
Closes #1513
-
由 Matt Stancliff 提交于
The core linenoise code was being backported, but not the README or example. It's less confusing for users if everything matches across directories. Fix inspired by @thrig Closes #1872
-
- 22 9月, 2014 1 次提交
-
-
由 antirez 提交于
-
- 19 9月, 2014 1 次提交
-
-
由 Matt Stancliff 提交于
Fixed in Redis by 1a5e5b6b, but since that part of code is largely copy/paste from Redis, the fix needs to be ported over too. Closes #2012
-
- 26 8月, 2014 2 次提交
-
-
由 antirez 提交于
-
由 Mariano Pérez Rodríguez 提交于
Companion for 8eeb1802, but dealing with hiredis.
-
- 13 8月, 2014 1 次提交
-
-
由 antirez 提交于
This raises the max string to 4GB without any downside.
-
- 12 8月, 2014 1 次提交
-
-
由 Daniel Price 提交于
Closes #997
-
- 07 8月, 2014 1 次提交
-
-
由 siahl 提交于
Closes #1900
-
- 23 6月, 2014 4 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 Matt Stancliff 提交于
This is hiredis f225c276be7fd0646019b51023e3f41566633dfe This update includes all changes that diverged inside of Redis since the last update. This version also allows optional source address binding for connections which we need for some Sentinel deployments.
-
- 20 6月, 2014 2 次提交
- 13 3月, 2014 1 次提交
-
-
由 antirez 提交于
-
- 27 8月, 2013 1 次提交
-
-
由 yihuang 提交于
-
- 12 8月, 2013 1 次提交
-
-
由 antirez 提交于
-
- 25 7月, 2013 1 次提交
-
-
由 antirez 提交于
-
- 11 7月, 2013 1 次提交
-
-
由 antirez 提交于
-
- 29 4月, 2013 1 次提交
-
-
由 antirez 提交于
-
- 18 4月, 2013 1 次提交
-
-
由 antirez 提交于
Redis gitignore was too aggressive since simply broken. Jemalloc gitignore was too agressive because it is conceived to just keep the files that allow to generate all the rest in development environments (so for instance the "configure" file is excluded).
-
- 16 3月, 2013 2 次提交
-
-
由 Johan Bergström 提交于
-
由 Johan Bergström 提交于
-
- 23 1月, 2013 1 次提交
-
-
由 antirez 提交于
There was a bug in the previous version of this library that caused a crash under the circumstances described in issue #901. The newer version of the library appears to be fixed (I tested it manually with valgrind and everything seems fine now). For more information about this library please visit this web site: http://www.inf.puc-rio.br/~roberto/struct/
-
- 17 12月, 2012 1 次提交
-
-
由 antirez 提交于
-
- 12 12月, 2012 1 次提交
-
-
由 Patrick TJ McPhee 提交于
-