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

Add retries when getting info from ss and netstat

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • Server Security 2025-04-14, Server Security 2025-04-28
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In proxy_protocol.js we wait 1 second before checking the output of the command ss or netstat. In slow servers this output could take more time.

      Implement retries and timeout instead of a sleep when checking for the output of these commands.

            Assignee:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: