MCPcopy Create free account
hub / github.com/apache/trafficserver / destroy

Method destroy

src/proxy/http2/Http2ClientSession.cc:49–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47Http2ClientSession::Http2ClientSession() : super() {}
48
49void
50Http2ClientSession::destroy()
51{
52 if (!in_destroy) {
53 in_destroy = true;
54 REMEMBER(NO_EVENT, this->recursion)
55 Http2SsnDebug("session destroy");
56 if (_vc) {
57 _vc->do_io_close();
58 _vc = nullptr;
59 }
60 // Let everyone know we are going down
61 do_api_callout(TS_HTTP_SSN_CLOSE_HOOK);
62 }
63}
64
65void
66Http2ClientSession::free()

Callers

nothing calls this directly

Calls 1

do_io_closeMethod · 0.45

Tested by

no test coverage detected