- 11 Dec, 2019 3 commits
- 09 Dec, 2019 3 commits
-
-
antirez authored
-
Salvatore Sanfilippo authored
Add ULL suffix to CLIENT_TRACKING flag to prevent sign extension
-
Oran Agra authored
the code in: c->flags &= ~(CLIENT_TRACKING|CLIENT_TRACKING_BROKEN_REDIR); will do sign extension and turn on all the high 31 bits no damage so far since we don't have any yet
-
- 05 Dec, 2019 3 commits
-
-
Salvatore Sanfilippo authored
Fix memcpy of id from key to be slightly safer.
-
Eran Liberty authored
+ memcpy(&id,ri.key,sizeof(id)); The memcpy from the key to the id reliease on the fact that this key *should* be 8 bytes long as it was entered as such a few lines up the code. BUT if someone will change the code to the point this is no longer true, current code can trash the stack which makes debugging very hard while this fix will result in some garbage id, or even page fault. Both are preferable to stack mangaling.
-
antirez authored
-
- 03 Dec, 2019 2 commits
- 02 Dec, 2019 9 commits
-
-
Salvatore Sanfilippo authored
fix crash in module short read test
-
Oran Agra authored
-
antirez authored
-
Salvatore Sanfilippo authored
Getting region date per process in Darwin
-
Salvatore Sanfilippo authored
Additional config.c refractory and bugfixes
-
Salvatore Sanfilippo authored
update leap year comment when div by 400
-
Salvatore Sanfilippo authored
Added the missed macro definition in slowlog.h
-
Salvatore Sanfilippo authored
revert an accidental test code change done as part of the tls project
-
Andy Guan authored
-
- 01 Dec, 2019 2 commits
-
-
Oran Agra authored
- 29 Nov, 2019 1 commit
-
-
antirez authored
-
- 28 Nov, 2019 2 commits
-
-
Oran Agra authored
Changes in behavior: - Change server.stream_node_max_entries from int64_t to long long, so that it can be used by the generic infra - standard error reply instead of "repl-backlog-size must be 1 or greater" and such - tls-port and a few TLS booleans were readable (config get) even when USE_OPENSSL was off (now they aren't) - syslog-enabled, syslog-ident, cluster-enabled, appendfilename, and supervised didn't have a get (now they do) - pidfile was initialized to NULL in InitServerConfig but had CONFIG_DEFAULT_PID_FILE in rewriteConfig (so the real default was "", but rewrite would cause it to be set), fixed the rewrite. - TLS config in server.h was uninitialized (if no tls config args were provided) Adding test for sanity and coverage
-
Oran Agra authored
- Adding is_valid_fn and update_fn, both return 1 for success and 0 for failure with an optional error message. - Bugfix in handling boundary check of unsigned numeric types (was boundaries as signed) - Adding more numeric types to generic mechanism: uint, ulonglong, long, time_t, off_t - More verbose error replies ("argument must be between" in out of range CONFIG SET (like config file parsing)
-
- 26 Nov, 2019 1 commit
-
-
Oran Agra authored
- add capability for each config to have a callback to check if value is valid and return error string will enable converting many of the remaining custom configs into generic ones (reducing the x4 repetition for set,get,config,rewrite) - add capability for each config to to run some update code after config is changed (only for CONFIG SET) will also enable converting many of the remaining custom configs into generic ones - add capability to move default values from server.h and server.c to config.c will reduce many excess lines in server.h and server.c (plus, no need to rebuild the entire code base when a default change 8-)) other behavior changes: - fix bug in bool config get (always returning 'yes') - fix a bug in modifying jemalloc-bg-thread at runtime (didn't call set_jemalloc_bg_thread, due to bad merge conflict resolution (my fault)) - side effect when a failed attempt to enable activedefrag at runtime, we now respond with -ERR and not with -DISABLED
-
- 25 Nov, 2019 4 commits
-
-
Salvatore Sanfilippo authored
try to fix an unstable test (module hook for loading progress)
-
Salvatore Sanfilippo authored
Add macro in bio.h
-
Salvatore Sanfilippo authored
fix move command: WATCH/MULTI/EXEC mechanism breaks
-
Salvatore Sanfilippo authored
Add missing header
-
- 22 Nov, 2019 6 commits
-
-
antirez authored
-
Salvatore Sanfilippo authored
Refactored configs into types that can be generic
-
Madelyn Olson authored
-
Madelyn Olson authored
-
Madelyn Olson authored
-
Madelyn Olson authored
-
- 21 Nov, 2019 4 commits
-
-
Salvatore Sanfilippo authored
Add module api for looking into INFO fields
-
Salvatore Sanfilippo authored
-
Salvatore Sanfilippo authored
Support streams in general module API functions
-
antirez authored
-