Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1430

Deprecate obsolete driver options

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      With the completion of PHPC-1288, the following driver options become obsolete and can be deprecated:

      • allow_invalid_hostname
      • weak_cert_validation
      • pem_file
      • pem_pwd
      • ca_file

      The deprecation message should advise users to use the corresponding canonical URI option instead.

      The following driver options have been deprecated according to the documentation, but don't yet trigger a deprecation warning:

      • allow_self_signed
      • local_cert
      • passphrase
      • cafile
      • capath
      • context

      The deprecation message for these options should also advise users to use URI options instead.

      This leaves the following undeprecated driver options:

      • crl_file
      • ca_dir

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: