Uploaded image for project: 'SonarLint Core Library'
  1. SonarLint Core Library
  2. SLCORE-295

Let the client manage the HTTP client

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: Core
    • Labels:
      None

      Description

      We are currently creating a new OkHttp client in various place, while it is not the right thing to do. OkHttp is maintaining background threads for connection pooling, so this is better to have a single instance, used everywhere.
      Since we may also use the IDE provided HTTP client (for example in SLI), we should rework all the APIs so that the client code of SLCORE is responsible to manage the HTTP Client.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: