summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-12-26 15:02:43 +0200
committerGitHub <noreply@github.com>2021-12-26 15:02:43 +0200
commitb426d0d41cc28f1b0f6ec7092cfb819ce00a6e16 (patch)
tree2ebb0f286a7d94cad3e6489ca9cd442f593df6a1 /redis/client.py
parentf03d008ba226c698e266158012b47b348b89b503 (diff)
downloadredis-py-b426d0d41cc28f1b0f6ec7092cfb819ce00a6e16.tar.gz
OCSP stapling support (#1820)
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index 5116482..0984a7c 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -878,6 +878,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands):
ssl_ca_path=None,
ssl_check_hostname=False,
ssl_password=None,
+ ssl_validate_ocsp=False,
max_connections=None,
single_connection_client=False,
health_check_interval=0,
@@ -956,6 +957,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands):
"ssl_check_hostname": ssl_check_hostname,
"ssl_password": ssl_password,
"ssl_ca_path": ssl_ca_path,
+ "ssl_validate_ocsp": ssl_validate_ocsp,
}
)
connection_pool = ConnectionPool(**kwargs)