| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c43bc21 commit 1635140
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2060,9 +2060,12 @@ void Http2Stream::MemoryInfo(MemoryTracker* tracker) const { | |||
| 2060 | 2060 | } | |
| 2061 | 2061 | ||
| 2062 | 2062 | std::string Http2Stream::diagnostic_name() const { | |
| 2063 | + const Http2Session* sess = session(); | ||
| 2064 | + const std::string sname = | ||
| 2065 | + sess ? sess->diagnostic_name() : "session already destroyed"; | ||
| 2063 | 2066 | return "HttpStream " + std::to_string(id()) + " (" + | |
| 2064 | - std::to_string(static_cast<int64_t>(get_async_id())) + ") [" + | ||
| 2065 | - session()->diagnostic_name() + "]"; | ||
| 2067 | + std::to_string(static_cast<int64_t>(get_async_id())) + ") [" + sname + | ||
| 2068 | + "]"; | ||
| 2066 | 2069 | } | |
| 2067 | 2070 | ||
| 2068 | 2071 | // Notify the Http2Stream that a new block of HEADERS is being processed. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments