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

socket leak for outgoing HTTP requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P1
    • Resolution: Done
    • Affects Version/s: 1.0.0, 2.3.3, 2.4.0
    • Fix Version/s: 2.3.4, 2.4.1, 2.5.0
    • Labels:
      None
    • Template:
    • Sprint:
      CP: sprint 128
    • Story Points:
      1
    • Development Team:
      Core: Platform
    • Release:
      R3 2021 Bug Fix

      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

                Assignee:
                adam Adam Dickmeiss
                Reporter:
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases