Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-255

Policy miscounts quick socket open/close against total connection limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None

    Description

      Self test system_tests_policy is failing.

      In the test the tester.router is created with

      cls.router = cls.tester.qdrouterd('conn-limit-router', config, wait=True)
      

      For the Wait=true the test code repeated opens a socket to the configured listener.
      When the socket connects then the router is declared up and ready.

      Internally though the policy code has counted the socket open as an incoming listener connection. This failure comes when the socket closes and the connection is not 'uncounted'.

      Attachments

        Activity

          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: