Aki Sukegawa created THRIFT-3651: ------------------------------------ Summary: Make backports.match_hostname and ipaddress optional Key: THRIFT-3651 URL: https://issues.apache.org/jira/browse/THRIFT-3651 Project: Thrift Issue Type: Improvement Components: Python - Library Affects Versions: 0.10.0 Reporter: Aki Sukegawa Assignee: Aki Sukegawa Fix For: 0.10.0
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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)