Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big data subcontract transmission data frame will be corrupted. Why not fix. Isn't that more serious? #11718

Closed
YANGLEDUO1 opened this issue Jun 9, 2024 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@YANGLEDUO1
Copy link

What version of Bun is running?

1.1.13

What platform is your computer?

Darwin 23.0.0 x86_64 i386

What steps can reproduce the bug?

Source bug #5627

          I created a minimal application to demonstrate the problem https://github.com/acuminous/amqplib-764. The issue is intermittent, but increasingly more likely the larger the payload ~affects payloads that are over the configurable maximum frame size~. RabbitMQ splits large payloads across multiple frames, and when using Bun, they are getting corrupted, with bytes from the frames appearing to be duplicated and interleaved. As can be seen the example this results in a number of different problems from misidentifying the frame type, to the frame's payload size not matching the size specified in the frame header.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@YANGLEDUO1 YANGLEDUO1 added bug Something isn't working needs triage labels Jun 9, 2024
@Jarred-Sumner
Copy link
Collaborator

Thank you for the reproduction - its very helpful.

@Jarred-Sumner
Copy link
Collaborator

Duplicate of #5627

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #5627 Jun 10, 2024
@Jarred-Sumner
Copy link
Collaborator

Please follow along in #5627. We will fix it.

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants