Timeout of 0 should mean no timeout

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.13.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      In the URI options spec (https://github.com/mongodb/specifications/blob/master/source/uri-options/uri-options.rst) zero values of both socket timeout and connect timeout are defined to indicate no timeout. Currently the driver appears to use the timeout of 0 which means network operations fail with the user-provided zero timeout.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: