Do not allow negative values for wtimeout

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.2.0
    • Affects Version/s: 1.2-beta1
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per the documentation, wtimeout should be >= 0. URI parsing and mongoc_write_concern_set_wtimeout() both seem to allow negative values.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: