Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2600

Default query HTTP Idle timeout to 4.5s

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.2.5
    • 3.0.2
    • library
    • 1

    Description

      HTTP Idle Timeout is not supported by HttpClientHandler which we are currently using, but (although not in .NET Standard yet) SocketsHttpHandler does support it:

      https://docs.microsoft.com/en-us/dotnet/api/system.net.http.socketshttphandler.pooledconnectionidletimeout?view=netcore-3.1#System_Net_Http_SocketsHttpHandler_PooledConnectionIdleTimeout

      "However, we're using HttpClientHandler, not SocketsHttpHandler:"

      internal class AuthenticatingHttpClientHandler : HttpClientHandler
      

      Possible solution: "maybe we need to make AuthenticatingHttpClientHandler descend from DelegatingHandler and then inject the base handler"

      Attachments

        Issue Links

          For Gerrit Dashboard: NCBC-2600
          # Subject Branch Project Status CR V

          Activity

            People

              jmorris Jeff Morris
              jmorris Jeff Morris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty