-
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 Support #645
Merged
SSL Support #645
Changes from 31 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
0c14544
Initial SSL (sync) implementation
mnunberg 5f50eb4
Remove extra printfs
mnunberg ba947bc
Add SSL example
mnunberg 08efa46
SSL for async I/O
mnunberg 82549a5
Disable SSL by default
mnunberg bc2a8f3
Minor SSL-related fixes
mnunberg 4127e44
Don't add dead code for HIREDIS_NOSSL
mnunberg d329cc9
Use SSL by default
mnunberg e4a7800
Provide option-struct initialization
mnunberg 35a0a1f
read/write timeouts
mnunberg deba8d9
Allow connectWithOptions for async as well
mnunberg 53d9b12
Fix bug in options macro
mnunberg 7b70593
libevent-example: Use timeout
mnunberg f4f6b6d
minor fixes: initialize options struct with 0 always
mnunberg f51363a
Don't warn on missing field initializers
mnunberg 3a547b8
Unix: set addrlen so async reconnect uses proper size
mnunberg 389e694
Fix compilation on Ubuntu
valentinogeron 58222c2
Support SNI
valentinogeron 847a201
Fix memory leaks
valentinogeron 0bc2356
CMake: update for SSL
mnunberg 5f633ac
fix potential uninitialized read
mnunberg 24e6166
libevent: fix invalid mem access on delete within callback enter
mnunberg f60c550
Add EV_PERSIST flag to read events
mnunberg 1eb44cf
scrub redisContext before freeing
mnunberg f0a7595
libevent: call destroy from cleanup
mnunberg ea9f9d2
fixed wrong memset args
mnunberg 271f339
fix pkg config
valentinogeron d9e0299
fix redisLibeventEvents init
valentinogeron 4b90429
Remove redundant line after rebase
mnunberg 3511c8d
gitignore: dSYM
mnunberg 3949c8a
Disable SSL by default
mnunberg 1ec4aef
Fix ifeq condition (thanks @regae)
mnunberg 5eb6958
Allow option for async connections to not automatically free
mnunberg 792bdba
cmake: ssl disabled by default
mnunberg ffceb87
SSL: build in travis
mnunberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
/*.dylib | ||
/*.a | ||
/*.pc | ||
*.dSYM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
set data in ac to NULL (e->context->ev.data = NULL)