diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-07-29 11:53:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 11:53:03 -0700 |
commit | d8ff72387d5474e56228a3403dc91354d9916189 (patch) | |
tree | 1a6fa645967132b78d92d52de9c9175b429236ba /sds.c | |
parent | be32bcdc8e84ae7dc091ceeffca2c5d4126f415c (diff) |
Move SSL management to a distinct private pointer. (#855)
We need to allow our users to use redisContext->privdata as context
for any RESP3 PUSH messages, which means we can't use it for managing
SSL connections.
Bulletpoints:
* Create a secondary redisContext member for internal use only called
privctx and rename the redisContextFuncs->free_privdata accordingly.
* Adds a `free_privdata` function pointer so the user can tie allocated
memory to the lifetime of a redisContext (like they can already do
with redisAsyncContext)
* Enables SSL tests in .travis.yml
Diffstat (limited to 'sds.c')
0 files changed, 0 insertions, 0 deletions