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

Fix the fallback from UDP to TCP due to message truncation #6

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

jeremyevans
Copy link
Contributor

If truncation is detected, return immediately from decode so that
the UDP connection can be retried with TCP, instead of failing to
decode due to trying to decode a truncated response.

Fixes [Bug #13513]

If truncation is detected, return immediately from decode so that
the UDP connection can be retried with TCP, instead of failing to
decode due to trying to decode a truncated response.

Fixes [Bug #13513]
@jeremyevans jeremyevans requested a review from akr June 17, 2021 19:34
@jeremyevans
Copy link
Contributor Author

@nobu Could you review this if you have time? This has been open for 2.5 years now.

@jeremyevans jeremyevans merged commit 0de996d into ruby:master Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants