[ https://issues.apache.org/jira/browse/THRIFT-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169564#comment-15169564 ]
Hudson commented on THRIFT-3651: -------------------------------- FAILURE: Integrated in Thrift-precommit #208 (See [https://builds.apache.org/job/Thrift-precommit/208/]) THRIFT-3651 Make backports.match_hostname and ipaddress optional Client: (nsuke: [https://github.com/apache/thrift/commit/f32bae7a89a47047fbed9a47b78d6b69d70a3764]) * lib/py/src/transport/TSSLSocket.py * lib/py/src/transport/sslcompat.py > 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)