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 Tests #711

Merged
merged 3 commits into from
Sep 16, 2019
Merged

SSL Tests #711

merged 3 commits into from
Sep 16, 2019

Conversation

yossigo
Copy link
Member

@yossigo yossigo commented Sep 16, 2019

This makes all tests run also in SSL mode if SSL is enabled, and fixes a few small issues that were brought up by the tests.

We should not attempt to keep the context and re-establish the
TLS connection for several reasons:

1. Maintain symmetry between redisConnect() and redisReconnect(), so in
both cases an extra step is required to initiate SSL.
2. The caller may also wish to reconfigure the SSL session and needs a
chance to do that.
3. It is not a practical thing to do on an async non-blocking connection
context.
This repeats all existing tests in SSL mode, but does not yet provide
SSL-specific tests.
@mnunberg mnunberg merged commit 0153527 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