Commit edaa452
committed
Ensure inflight state empty at end of test
If we push inflight state during the request and do not pop it on the
response (or erroneously push inflight state for a request that does
not have a response a la zero-ack produce), then we will leak memory.
Signed-off-by: Robert Young <[email protected]>1 parent 3a0cc26 commit edaa452
File tree
2 files changed
+12
-0
lines changed- kroxylicious-filters/kroxylicious-authorization/src
- main/java/io/kroxylicious/filter/authorization
- test/java/io/kroxylicious/filter/authorization
2 files changed
+12
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
276 | 283 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
0 commit comments