diff options
| -rw-r--r-- | CHANGES | 4 | ||||
| -rw-r--r-- | redis/__init__.py | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -48,6 +48,10 @@ querystring arguments. * Fixed a bug where some encodings (like utf-16) were unusable on Python 3 as command names and literals would get encoded. + * Added an SSLConnection class that allows for secure connections through + stunnel or other means. Currently users must create a connection pool, + specifying connection_class=SSLConnection to use this feature. Thanks + https://github.com/oranagra. * 2.9.1 * IPv6 support. Thanks https://github.com/amashinchi * 2.9.0 diff --git a/redis/__init__.py b/redis/__init__.py index 11f1063..2da66e2 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -3,6 +3,7 @@ from redis.connection import ( BlockingConnectionPool, ConnectionPool, Connection, + SSLConnection, UnixDomainSocketConnection ) from redis.utils import from_url @@ -25,7 +26,7 @@ VERSION = tuple(map(int, __version__.split('.'))) __all__ = [ 'Redis', 'StrictRedis', 'ConnectionPool', 'BlockingConnectionPool', - 'Connection', 'UnixDomainSocketConnection', + 'Connection', 'SSLConnection', 'UnixDomainSocketConnection', 'RedisError', 'ConnectionError', 'ResponseError', 'AuthenticationError', 'InvalidResponse', 'DataError', 'PubSubError', 'WatchError', 'from_url', 'BusyLoadingError', 'ReadOnlyError' |
