Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1835

evictExpiredConnections does not work as intended

    XMLWordPrintableJSON

Details

    Description

      HttpClientBuilder and HttpAsyncClientBuilder have an evictExpiredConnections method that is supposed to allow configuring a client that will evict expired connections.

      When evictExpiredConnections is used alongside evictIdleConnections, everything is fine.

      However, if evictExpiredConnections is used without evictIdleConnections, currently the builder will default to also providing the evictIdleConnections behaviour (defaulting to evicting idle connections after 10 seconds).

      The correct behaviour in this case is to only provide the evictExpiredConnections behaviour and not the evictIdleConnections behaviour.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liam.williams Liam Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: