| 41 | Http2ServerSession::Http2ServerSession() = default; |
| 42 | |
| 43 | void |
| 44 | Http2ServerSession::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 | |
| 61 | void |
| 62 | Http2ServerSession::free() |