Commit a534175
http2: fix crash on Http2Stream::diagnostic_name()
It can happen that the Http2Stream::session_ has already been deleted
when the Http2Stream destructor is called, causing `diagnostic_name()`
to crash. Observed when running some http2 tests on Windows with the
debug logs activated.
PR-URL: #45123
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>1 parent 0cbd2c6 commit a534175Copy full SHA for a534175
File tree
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2060 | 2060 | |
2061 | 2061 | |
2062 | 2062 | |
| 2063 | + |
| 2064 | + |
| 2065 | + |
2063 | 2066 | |
2064 | | - |
2065 | | - |
| 2067 | + |
| 2068 | + |
2066 | 2069 | |
2067 | 2070 | |
2068 | 2071 | |
|
0 commit comments