-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Reorganization #708
SSL Reorganization #708
Conversation
@@ -347,7 +314,7 @@ void redisAsyncFree(redisAsyncContext *ac) { | |||
} | |||
|
|||
/* Helper function to make the disconnect happen and clean up. */ | |||
static void __redisAsyncDisconnect(redisAsyncContext *ac) { | |||
void __redisAsyncDisconnect(redisAsyncContext *ac) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really hate the __
:'( but alas this is not a concern in this PR
hiredis.h
Outdated
/* Context for a connection to Redis */ | ||
typedef struct redisContext { | ||
redisContextFuncs *funcs; /* Function table */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely, will add.
Also rename the SSL option from `HIREDIS_SSL` to `ENABLE_SSL` to conform with CMake convnetions.
This is an implementation of the changes discussed in #705.