Uploaded image for project: 'mod-pubsub'
  1. mod-pubsub
  2. MODPUBSUB-203

R2/Juniper -- socket leak for outgoing HTTP requests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Done
    • 1.0.0, 2.3.3, 2.4.0
    • 2.3.4
    • None
    • CP: sprint 128
    • 1
    • Core: Platform
    • R2 2021 Hot Fix #4

    Description

      From code inspection it is apparent that there's a socket leak in mod-pubsub-server.. A HttpClient is created for each request. A HttpClient/WebClient should only be created once per Vert.x instance. It is a factory of requests.

      https://github.com/folio-org/mod-pubsub/blob/6aea9a028345a97c71f619b5382e88bed3f47a28/mod-pubsub-server/src/main/java/org/folio/rest/util/RestUtil.java#L135

      This affects all versions of mod-pubsub (since December 2019).

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases