Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2321

Timeout of 0 should mean no timeout

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

      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@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: