Skip to content
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

Merged
merged 6 commits into from
Sep 16, 2019
Merged

SSL Reorganization #708

merged 6 commits into from
Sep 16, 2019

Conversation

yossigo
Copy link
Member

@yossigo yossigo commented Aug 29, 2019

This is an implementation of the changes discussed in #705.

@@ -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) {
Copy link
Contributor

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 */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const?

Copy link
Member Author

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.
@yossigo yossigo marked this pull request as ready for review September 12, 2019 13:34
@mnunberg mnunberg merged commit bd2c8fe into redis:master Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants