Ken Giusti created PROTON-2214:
----------------------------------
Summary: Proton can generate an attach frame that violates the
remotes max-frame-size
Key: PROTON-2214
URL: https://issues.apache.org/jira/browse/PROTON-2214
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: proton-c-0.30.0
Reporter: Ken Giusti
Fix For: proton-c-future
Not convinced this is actually a bug - more a user error - but wanted to raise
the issue to understand what the expected behavior should be.
See [DISPATCH-1533|https://issues.apache.org/jira/browse/DISPATCH-1533] for
details and reproducer;
TL;DR: a chaos client written in Proton/python stresses the qdrouterd by
creating links with very long target addresses. If the addresses are too long
- resulting in a Attach performative that is larger than the remote's
max-frame-size - proton generates and sends the oversized Attach frame
regardless.
This could be considered a bug because according to the standard a client must
not generate a frame > max-frame-size.
While the reaction of the peer is correct (close w/framing-error) the
description is too vague given the actual error is specific (frame too large).
It would've helped me debug this faster if description was that specific.
[0x614000035850]: AMQP:FRAME:0 <- @close(24) [error=@error(29)
[condition=:"amqp:connection:framing-error", description="malformed frame"]]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]