Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4664

Clarify that socketTimeoutMS affects only reads

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 4.7.0
    • None
    • URI Options
    • None
    • Fully Compatible
    • Not Needed

    Description

      socketTimeoutMS is documented incorrectly in ConnectionString. In actuality, this option is the same as SocketSettings.getReadTimeout. There is no way to directly control the write timeout in the Java SE (see JAVA-4148 for more details), which is why in the driver socketTimeoutMS does not affect writes.

      Attachments

        Activity

          People

            valentin.kovalenko@mongodb.com Valentin Kavalenka
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: