Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3173

Invalid reporting of the client closing via the cleaner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 6.1.0.Final
    • 6.1.0.Beta3
    • None
    • None

      There was an introduction of the using a cleaner to close the client. However, the Cleanable.clean() is invoked without first setting the closed attribute to true. This causes the message to be logged even when correctly closed.

      Example output:

      Jul 28, 2022 3:57:46 PM org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$CleanupAction run
      WARN: RESTEASY004687: Closing a class org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$CleanupAction instance for you. Please close clients yourself.
      

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: