{{ message }}
Repository navigation
Commit 2c552cd
quic: release stream arenas before cleanup
Release QUIC stream stats and state arena slots when the stream is
destroyed instead of from the Stream destructor.
Realm cleanup destroys QUIC binding data before draining remaining
BaseObjects, so a stream that survives until process teardown must
not need BindingData from its destructor.
HTTP/3 header callbacks can synchronously destroy their stream. Check
whether the stream was destroyed after those callbacks before accessing
its arena-backed state, and make repeated native destruction safe after
the slots have been released.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
PR-URL: #65410
Fixes: #65408
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 4586640 commit 2c552cd
4 files changed
Lines changed: 51 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
| 1214 | + | |
1217 | 1215 | | |
1218 | | - | |
| 1216 | + | |
1219 | 1217 | | |
1220 | 1218 | | |
1221 | 1219 | | |
| |||
1306 | 1304 | | |
1307 | 1305 | | |
1308 | 1306 | | |
| 1307 | + | |
1309 | 1308 | | |
1310 | 1309 | | |
1311 | 1310 | | |
| |||
1621 | 1620 | | |
1622 | 1621 | | |
1623 | 1622 | | |
1624 | | - | |
| 1623 | + | |
1625 | 1624 | | |
1626 | 1625 | | |
1627 | 1626 | | |
| |||
1666 | 1665 | | |
1667 | 1666 | | |
1668 | 1667 | | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
1669 | 1671 | | |
1670 | 1672 | | |
1671 | 1673 | | |
1672 | 1674 | | |
1673 | 1675 | | |
1674 | 1676 | | |
1675 | 1677 | | |
1676 | | - | |
| 1678 | + | |
1677 | 1679 | | |
1678 | 1680 | | |
1679 | 1681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
| |||

0 commit comments