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

Make backports.match_hostname and ipaddress optional

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Python - Library
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: