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

Use SSLContext when available

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: