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

Pooled SSL connections are not being reused with client authentication

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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. SOLR-9604-6x.patch
          27 kB
          Mikhail Khludnev
        2. SOLR-9604.patch
          21 kB
          Alan Woodward
        3. SOLR-9604.patch
          22 kB
          Alan Woodward
        4. fails with null.png
          760 kB
          Mikhail Khludnev

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: