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

Curl implementation of HTTPClient should respect default timeouts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.15, 6.0.0-rc7, 5.0.10, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0, v5.0, v4.4
    • Security 2022-05-16

    Description

      HTTPClient defines default timeouts for whole requests and for connection establishment.

      The Windows implementation sets these defaults as its Client's default timeout properties.

      The Curl implementation does not.

      This can cause requests to hang indefinitely without returning an error if the remote endpoint doesn't return a result.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: