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

Method destroy

src/proxy/http2/Http2ServerSession.cc:43–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41Http2ServerSession::Http2ServerSession() = default;
42
43void
44Http2ServerSession::destroy()
45{
46 if (!in_destroy) {
47 in_destroy = true;
48 write_vio = nullptr;
49 this->remove_session();
50 this->release_outbound_connection_tracking();
51 REMEMBER(NO_EVENT, this->recursion)
52 Http2SsnDebug("session destroy");
53 if (_vc) {
54 _vc->do_io_close();
55 _vc = nullptr;
56 }
57 free();
58 }
59}
60
61void
62Http2ServerSession::free()

Callers 7

~Http2StreamMethod · 0.45
update_write_requestMethod · 0.45
test_decodingFunction · 0.45
test_encodingFunction · 0.45
common_freeMethod · 0.45
test_HTTP2.ccFile · 0.45
destroy_http_hdrFunction · 0.45

Calls 3

remove_sessionMethod · 0.95
do_io_closeMethod · 0.45

Tested by 3

test_decodingFunction · 0.36
test_encodingFunction · 0.36
destroy_http_hdrFunction · 0.36