Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18567

ConnectionString::parse should return StatusWith<ConnectionString>

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.6
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Fully Compatible

      Currently ConnectionString::parse returns an invalid ConnectionString object if it fails and passes the message in a separate output parameter.

      It should be changed to instead return StatusWith<ConnectionString> and the variant, which returns an invalid ConnectionString should be removed.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: