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

Correctly retain slice when calling ReplayingDecoderByteBuf.retainedS… #13496

Merged
merged 1 commit into from Jul 18, 2023

Conversation

normanmaurer
Copy link
Member

…lice(...)

Motivation:

We need to retain the slice when calling retainedSlice(...). Due a bug we did miss to do so.

Modifications:

  • Delegate to the correct method.
  • Add test-case

Result:

Fixes #13455

…lice(...)

Motivation:

We need to retain the slice when calling retainedSlice(...). Due a bug we did miss to do so.

Modifications:

- Delegate to the correct method.
- Add test-case

Result:

Fixes #13455
@normanmaurer normanmaurer added this to the 4.1.95.Final milestone Jul 18, 2023
@normanmaurer normanmaurer merged commit 1e0dab1 into 4.1 Jul 18, 2023
10 of 12 checks passed
@normanmaurer normanmaurer deleted the replay_retained_slice branch July 18, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReplayingDecoderByteBuf.retainedSlice(...) behavior unexpected and not documented
2 participants