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

[Broker-J] Attempting to use an unknown filter type incorrectly causes connection closure with a decode error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: qpid-java-broker-7.1.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      As discovered in QPID-8113 if a client attempts to attach to a source using an unknown filter type (i.e. an unrecognised descriptor) the broker responds with a decode error similar to

      [0x555941994670]:0 <- @close(24) [error=@error(29) [condition=:"amqp:decode-error", description="Expected key type is 'Filter' but got 'DescribedType'"]]

      Instead the broker should simply fail to attach (i.e. attach with source=null) and then immediately detach with a not-implemented error.

        Attachments

          Activity

            People

            • Assignee:
              orudyy Alex Rudyy
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: