-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SSL Support #645
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
Merged
SSL Support #645
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
0c14544
Initial SSL (sync) implementation
mnunberg1 5f50eb4
Remove extra printfs
mnunberg1 ba947bc
Add SSL example
mnunberg1 08efa46
SSL for async I/O
mnunberg1 82549a5
Disable SSL by default
mnunberg1 bc2a8f3
Minor SSL-related fixes
mnunberg1 4127e44
Don't add dead code for HIREDIS_NOSSL
mnunberg1 d329cc9
Use SSL by default
mnunberg1 e4a7800
Provide option-struct initialization
mnunberg1 35a0a1f
read/write timeouts
mnunberg1 deba8d9
Allow connectWithOptions for async as well
mnunberg1 53d9b12
Fix bug in options macro
mnunberg1 7b70593
libevent-example: Use timeout
mnunberg1 f4f6b6d
minor fixes: initialize options struct with 0 always
mnunberg1 f51363a
Don't warn on missing field initializers
mnunberg1 3a547b8
Unix: set addrlen so async reconnect uses proper size
mnunberg1 389e694
Fix compilation on Ubuntu
valentinogeron 58222c2
Support SNI
valentinogeron 847a201
Fix memory leaks
valentinogeron 0bc2356
CMake: update for SSL
mnunberg1 5f633ac
fix potential uninitialized read
mnunberg1 24e6166
libevent: fix invalid mem access on delete within callback enter
mnunberg1 f60c550
Add EV_PERSIST flag to read events
mnunberg1 1eb44cf
scrub redisContext before freeing
mnunberg1 f0a7595
libevent: call destroy from cleanup
mnunberg1 ea9f9d2
fixed wrong memset args
mnunberg1 271f339
fix pkg config
valentinogeron d9e0299
fix redisLibeventEvents init
valentinogeron 4b90429
Remove redundant line after rebase
mnunberg1 3511c8d
gitignore: dSYM
mnunberg1 3949c8a
Disable SSL by default
mnunberg1 1ec4aef
Fix ifeq condition (thanks @regae)
mnunberg1 5eb6958
Allow option for async connections to not automatically free
mnunberg1 792bdba
cmake: ssl disabled by default
mnunberg1 ffceb87
SSL: build in travis
mnunberg1 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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)