Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2884

Async Socket methods do not use Socket.ReceiveTimeout

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.10.1
    • 2.10.0
    • Connectivity
    • None

    Description

      We have recently discovered in the .NET documentation that the async Socket methods do not use the Socket.SendTimeout and Socket.ReceiveTimeout values.

      Since our SDAM monitoring code uses async Socket operations (indirectly via async NetworkStream operations) the result is that any configuration of HeartbeatTimeout is not effective.

      The consequence is that SDAM can take longer than expected to re-discover a server that has been temporarily black-holed.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: