antirez
f4e2abfcd4
minor refactoring to networking.c adding a separated function to get a string representing the current state of all the connected clients.
2011-11-24 15:47:55 +01:00
antirez
3852e2a831
last executed command in CLIENT LIST output.
2011-11-24 14:56:43 +01:00
antirez
6a252e9498
Redis 2.4.3
2011-11-21 18:47:39 +01:00
antirez
5d5e68a486
Fixed bug in getClientInfoString() that was not rendering the N (no flags) special flag correctly.
2011-11-21 18:37:22 +01:00
antirez
a6e4627438
Close client connection and log the event when the client input buffer reaches 1GB.
2011-11-21 18:37:17 +01:00
antirez
93babe4b41
show active events in client file descriptor in CLIENT LIST.
2011-11-21 18:37:05 +01:00
antirez
713b4c5401
new ae.c API to get current events by file descriptor.
2011-11-21 18:37:01 +01:00
antirez
51baa1922b
added output list and buffer length, query buffer size, to CLIENT LIST output.
2011-11-21 18:36:56 +01:00
antirez
f3ac12aac2
code generating the CLIENT LIST output refactored to have a function that is able to render a single client into a client info string.
2011-11-21 18:36:41 +01:00
antirez
0b1531e50b
Added sdscatsds() to sds.c/h
2011-11-21 18:32:29 +01:00
antirez
b1b98c64cc
Max log message length set to 4k to avoid truncated INFO output in logs on Redis crash. This is just a workaround and it is handled better in the unstable branch.
2011-11-21 18:32:08 +01:00
Chris Lamb
cec6b04842
Fix crash on SPARC due to improper alignment of allocated memory
...
I believe that you should be able to drop 'defined(__sun)' completely
from this clause, as Solaris on x86 hardware probably does not have
strict alignment requirements, but I don't have a way to test that.
Thanks to Jurij Smakov <jurij@wooyd.org>.
Signed-off-by: Chris Lamb <lamby@debian.org>
2011-11-16 18:24:06 +01:00
antirez
beb4bacce6
I/O buffer length enlarged
2011-11-11 17:19:57 +01:00
antirez
3fac86ff1d
set default client timeout to zero inside redis.h as well
2011-11-11 17:16:03 +01:00
Salvatore Sanfilippo
7e11ca0ae9
Merge pull request #149 from hgfischer/2.4
...
repl_ping_slave_period and repl_timeout configs
2011-10-31 03:11:17 -07:00
antirez
d1387aa64d
It is now possible to disable password authentication via CONFIG SET. Thanks to Jan Oberst. This closes issue #171 .
2011-10-31 09:57:18 +01:00
antirez
7d31a020ea
Fixed a memory leak in redis-cli.c
2011-10-28 17:43:43 +02:00
antirez
cacab3b1c8
sds.c single quotes support
2011-10-28 17:43:39 +02:00
antirez
072a9052c7
Redis 2.4.2
2011-10-26 16:16:33 +02:00
Salvatore Sanfilippo
00af23bcbf
Merge pull request #154 from florean/2.4
...
2.4
2011-10-26 04:01:01 -07:00
antirez
15c9497280
Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue #161 , probably fixing 159 as well.
2011-10-26 12:55:09 +02:00
Nathan Florea
1126d5aa49
Set errno to 0 before calling strtol.
2011-10-20 18:20:58 -07:00
Herbert G. Fischer
1fe4cd5de9
fixed source indenting
2011-10-18 19:03:18 -02:00
Herbert G. Fischer
7c6da7327f
Added repl_ping_slave_period and repl_timeout options support
2011-10-18 18:56:10 -02:00
antirez
b6fe152b83
Fix to the previous fix for issue #145 , make sure to return only after the event was unregistered.
2011-10-18 17:12:16 +02:00
smly
1270a13667
Fixed a small memory leak I found with valgrind
2011-10-18 14:13:47 +02:00
antirez
98f5abb6e3
Return from syncWithMaster() ASAP if the event fired but the instance is no longer a slave. This should fix Issue #145 .
2011-10-18 11:09:32 +02:00
antirez
5ab72bedb7
version bumped to 2.4.1
2011-10-17 10:43:02 +02:00
antirez
9a83d13fb5
revert version bumping to 2.4.1, put in the previous commit for an error.
2011-10-17 10:42:47 +02:00
antirez
6662806a26
Regression test for issue #142 added
2011-10-17 10:40:11 +02:00
antirez
6e3f1a9e47
FLUSHALL now prevents rdbSave() from resetting the dirty counter, so that the command will get replicated and put inside the AOF. This fixes issue #142
2011-10-17 10:28:57 +02:00
antirez
d12f26c231
FLUSHALL will only perform a blocking SAVE if RDB persistence is configured.
2011-10-17 10:25:35 +02:00
antirez
0c71939c05
Version bumped to 2.4.0
2011-10-14 17:49:20 +02:00
antirez
a4f46f211c
Exit with Fatal error at startup if the RDB file signature or version is wrong.
...
Ref: issue #103
2011-10-14 17:04:24 +02:00
antirez
8185c2e9f1
redis-check-dump: RDB version 2 now supported.
2011-10-14 16:52:11 +02:00
antirez
71bb31bf16
More informative error when DEBUG RELOAD fails.
2011-10-14 14:30:41 +02:00
antirez
c7d23f3ed1
Fix for issue #132 . Now AUTH raises an error if no server password is configured.
2011-10-10 22:22:27 +02:00
Nathan Florea
09cefcfbb3
Added a config directive for a Unix socket mask
...
Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file. I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85 ).
2011-10-10 22:08:11 +02:00
Nathan Florea
1ca8deebef
Unlink Unix socket file on shutdown
2011-10-10 22:08:03 +02:00
antirez
b7f667b553
Issue #131 . stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.
2011-10-10 15:29:36 +02:00
antirez
067ad37f96
Fix for bug #128 about the RENAME command.
2011-10-10 15:25:28 +02:00
antirez
0e841b998a
CONFIG SET/GET support for loglevel
2011-10-06 15:25:53 +02:00
antirez
678dbc48fd
Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h
2011-09-29 10:20:26 +02:00
Juri M. Vainonen
3a91aca033
fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero.
2011-09-21 22:33:01 +02:00
antirez
902a656f7a
Version bumped to 2.3.11
2011-09-21 13:56:03 +02:00
antirez
b0fcf23304
hash zipmap max entries and entry size information removed from INFO command since we have this info and the equivalent info for sets, hashes, zset accessible via the CONFIG GET command.
2011-09-20 11:08:08 +02:00
vambo
57f611d953
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
2011-09-20 11:01:20 +02:00
Konstantin Tokarev
20c26321c2
Fixed compilation on Mac/PPC
...
Applied patch from Issue 119 provided by
pahowes@gmail.com
2011-09-20 10:59:47 +02:00
Konstantin Merenkov
2017d8baf7
[issue 620] don't segfault if number of arguments is less than 1
2011-09-20 10:56:43 +02:00
antirez
a511ce1b49
Include port number in error when can't bind lisetning port on startup.
2011-09-20 10:48:33 +02:00