Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83408

DBClientSession/DBClientConnection constructor doesn't use so_timeout argument

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • Service Arch
    • Minor Change
    • ALL
    • Service Arch 2023-12-11

    Description

      DBClientSession and DBClientConnection have constructors here and here that take an so_timeout argument. Presumably, this is intended to set the socket timeout for the connection, like the setSoTimeout member function does, but the argument is unused today.

      We should either correctly set the socket timeout or remove the constructor argument to avoid confusion

      Attachments

        Activity

          People

            vinod.kumar@mongodb.com Vinod Kumar
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: