Skip to content

Match exact symbol length when detecting AMQP 1.0 body sections#17017

Merged
ansd merged 1 commit into
mainfrom
amqp-parser-symbol
Jul 23, 2026
Merged

Match exact symbol length when detecting AMQP 1.0 body sections#17017
ansd merged 1 commit into
mainfrom
amqp-parser-symbol

Conversation

@ansd

@ansd ansd commented Jul 23, 2026

Copy link
Copy Markdown
Member

In server_mode, the parser recognised the symbolic message body descriptors (amqp:data:binary, amqp:amqp-sequence:list and amqp:amqp-value:*) by their textual prefix only, ignoring the encoded symbol length. A described value whose descriptor merely started with one of these names was therefore classified as the corresponding standard body section.

In server_mode, the parser recognised the symbolic message body
descriptors (amqp:data:binary, amqp:amqp-sequence:list and
amqp:amqp-value:*) by their textual prefix only, ignoring the encoded
symbol length. A described value whose descriptor merely started with
one of these names was therefore classified as the corresponding
standard body section.
@ansd ansd added this to the 4.4.0 milestone Jul 23, 2026
@ansd
ansd requested a review from lhoguin July 23, 2026 12:25
@ansd ansd self-assigned this Jul 23, 2026
@mergify

mergify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ansd
ansd merged commit c9b4b10 into main Jul 23, 2026
358 of 359 checks passed
@ansd
ansd deleted the amqp-parser-symbol branch July 23, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants