Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-718

Use SSLContext when available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      ssl.SSLContext, introduced in python 3.2, provides a number of advantages over simply calling ssl.wrap_socket every time we need to create a socket. Use it when available.

      We'll also implement a fake SSLContext class that mimics the parts of the SSLContext API that are useful for us - and can be supported back to python 2.6.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: