[ 
https://issues.apache.org/jira/browse/THRIFT-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157053#comment-15157053
 ] 

ASF GitHub Bot commented on THRIFT-3651:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/880


> 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)

Reply via email to