Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
Description
THRIFT-3599 requires backports.match_hostname and ipaddress modules.
I've modified the import logic so that TSSLSocket is usable without these.
If the user is on Python 2.X and also either of above modules are absent:
- client cert cannot be enabled and results in constructor exception
- server cert validation logic falls back to legacy Thrift 0.9.3 version