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

Async Socket methods do not use Socket.ReceiveTimeout

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.10.1
    • Affects Version/s: 2.10.0
    • Component/s: Connectivity
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: