Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9604

Pooled SSL connections are not being reused with client authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None

    Description

      Solr isn't setting user tokens on any of its HttpClientContext objects when requested new http connections. This means that when SSL + client authentication is used, HttpClient is creating a new connection on every request, to ensure that authentication tokens aren't shared between different users. We end up with lots of unused open connections in the connection pool, leading to slowness and out-of-memory errors.

      Attachments

        1. fails with null.png
          760 kB
          Mikhail Khludnev
        2. SOLR-9604.patch
          22 kB
          Alan Woodward
        3. SOLR-9604.patch
          21 kB
          Alan Woodward
        4. SOLR-9604-6x.patch
          27 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: