Commit 1e0dab1
authored
Correctly retain slice when calling ReplayingDecoderByteBuf.retainedS… (#13496)
…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 #134551 parent fa2c81f commit 1e0dab1
2 files changed
Lines changed: 23 additions & 1 deletion
File tree
- codec/src
- main/java/io/netty/handler/codec
- test/java/io/netty/handler/codec
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
107 | 129 | | |
0 commit comments