Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3651

Make backports.match_hostname and ipaddress optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Python - Library
    • 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

      Attachments

        Activity

          People

            nsuke Nobuaki Sukegawa
            nsuke Nobuaki Sukegawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: