| 148 | // are scenarios where we would like to complete the outstanding streams. |
| 149 | |
| 150 | void |
| 151 | Http2ServerSession::do_io_close(int /* alerrno ATS_UNUSED */) |
| 152 | { |
| 153 | REMEMBER(NO_EVENT, this->recursion) |
| 154 | |
| 155 | if (!this->connection_state.is_state_closed()) { |
| 156 | Http2SsnDebug("session closed"); |
| 157 | this->remove_session(); |
| 158 | |
| 159 | ink_assert(this->mutex->thread_holding == this_ethread()); |
| 160 | send_connection_event(&this->connection_state, HTTP2_SESSION_EVENT_FINI, this); |
| 161 | |
| 162 | // Destroy will be called from connection_state.release_stream() once the number of active streams goes to 0 |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | int |
| 167 | Http2ServerSession::main_event_handler(int event, void *edata) |
no test coverage detected