Skip to content

Commit

Permalink
Hiredis: Advanced async-handling
Browse files Browse the repository at this point in the history
+ hiredis.c: Convert redisSetError to take format and va_args
+ dict.*   : Fixed generic hash function -> cannot really take signed number
+ async.*  : Valdup function now handles OOM properly
             KeyCompare function uses proper sized integers
             nextArgument - change to use proper str-int conversion function
             Added redisAsyncAppend* function family to support buffer
                                                 optimizations in async-mode
             Added proper error handling on OOM errors [inc buffer rollback]

Review fixes

+ hiredis.c : Reverted back to memcpy(), will test *printf in different time
+ aysnc.c   : Minor changes for better readability

Handle unlikely/pathological OOM conditon cleanly.

More OOM checks
  • Loading branch information
oshamash committed Sep 29, 2021
1 parent 2d9d775 commit 088c9ce
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 72 deletions.
Loading

0 comments on commit 088c9ce

Please sign in to comment.