| 144 | // are scenarios where we would like to complete the outstanding streams. |
| 145 | |
| 146 | void |
| 147 | Http2ClientSession::do_io_close(int /* alerrno ATS_UNUSED */) |
| 148 | { |
| 149 | REMEMBER(NO_EVENT, this->recursion) |
| 150 | |
| 151 | if (!this->connection_state.is_state_closed()) { |
| 152 | Http2SsnDebug("session closed"); |
| 153 | |
| 154 | ink_assert(this->mutex->thread_holding == this_ethread()); |
| 155 | send_connection_event(&this->connection_state, HTTP2_SESSION_EVENT_FINI, this); |
| 156 | |
| 157 | this->connection_state.release_stream(); |
| 158 | |
| 159 | this->clear_session_active(); |
| 160 | |
| 161 | // Clean up the write VIO in case of inactivity timeout |
| 162 | this->do_io_write(this, 0, nullptr); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | int |
| 167 | Http2ClientSession::main_event_handler(int event, void *edata) |
no test coverage detected