[
https://issues.apache.org/jira/browse/QPID-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated QPID-8114:
------------------------------
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.
was:
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.
> [Broker-J] Attempting to use an unknown filter type incorrectly causes
> connection closure with a decode error
> -------------------------------------------------------------------------------------------------------------
>
> Key: QPID-8114
> URL: https://issues.apache.org/jira/browse/QPID-8114
> Project: Qpid
> Issue Type: Bug
> Components: Broker-J
> Reporter: Rob Godfrey
> Priority: Major
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]