Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2348

Proton-j leaks file descriptors when connection fails to open

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: proton-j-0.33.8
    • Fix Version/s: proton-j-future
    • Component/s: proton-j
    • Labels:
      None
    • Environment:
      Windows 10 desktop

      Description

      When I run some simple proton-j code to open a connection while my machine has no internet access, proton-j appears to leak file descriptors. I have some code attached that you can use to repro this issue. You simply need to run the sample while your internet is disconnected.

       

      From what I can tell, proton-j does not leak any file descriptors for successful connections.

      I've been using Window's to process explorer view my machine's file descriptors over time. This same issue is present in Linux and MacOS as well.

        Attachments

        1. repro.txt
          2 kB
          Tim Taylor

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timtay-microsoft Tim Taylor

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment