Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2967

Windows broker fails to destroy connections if client exits abruptly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.10
    • C++ Broker
    • Windows 64- and 32-bit builds of cpp/qpidd

    Description

      Start the broker with a small number of connections:
      qpidd --auth no --no-data-dir --max-connections 2

      Run a 'server' program, one that never exits on its own, and kill it with ^C. After doing this for the max-number of connections the server will not accept any more connections. Internally to the broker the Connection objects are never destroyed.

      If the broker's client exits normally then the connection is destroyed properly. You can run HelloWorld against the windows broker beyond the max-connections count with no problem.

      I know that "the broker is not supported on Windows" but the same problem is there for clients when the broker goes away abruptly.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment