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

Timeout of 0 should mean no timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.13.0.rc1
    • None
    • None
    • Minor Change

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
              oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: