Commit 3d45a1e
authored
Merge commit from fork
HTTP2: DelegatingDecompressorFrameListener must release memory in all cases
Motivation:
We need to ensure we also release the buffer if the flow controller for example throws, missing to do so might result in OOME.
Modifications:
Move buf.release() to finally block
Result:
Always release buffer1 parent 75127ca commit 3d45a1e
1 file changed
Lines changed: 16 additions & 13 deletions
File tree
- codec-http2/src/main/java/io/netty/handler/codec/http2
Lines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
403 | 406 | | |
404 | 407 | | |
405 | 408 | | |
| |||
0 commit comments