Throw exception if WriteConcern wtimeout is out of range

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.3
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      libmongoc limits wtimeout to a signed, 32-bit integer.

      We already throw an exception if wtimeout is negative, but we should also throw if the value is > INT32_MAX; otherwise, input might be silently truncated.

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

              Created:
              Updated:
              Resolved: