Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2335

Syntax errors in TXT records only warn, they should error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • Labels:
      None

      Initial DNS Seedlist Discovery Spec:

      If any connection string option in a TXT record is incorrectly formatted, a Client must throw a parse exception.

      In our first implementation in 1.9.0, an incorrectly formatted option only results in a warning; it should be an error. Distinguishing between fatal errors and warnings in mongoc_uri_parse_options requires more work than we have time for in this release.

      Copy txt-record-wrong-value-type.json from the specs repo to test.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: