| 354 | } |
| 355 | |
| 356 | void |
| 357 | Http2ServerSession::remove_session() |
| 358 | { |
| 359 | if (!this->in_session_table) { |
| 360 | return; |
| 361 | } |
| 362 | Http2SsnDebug("Remove session from pool"); |
| 363 | EThread *ethread = this_ethread(); |
| 364 | ServerSessionPool *pool = ethread->server_session_pool; |
| 365 | MUTEX_TRY_LOCK(lock, pool->mutex, ethread); |
| 366 | if (lock.is_locked()) { |
| 367 | pool->removeSession(this); |
| 368 | in_session_table = false; |
| 369 | } else { |
| 370 | ink_release_assert(!"How did we not get the pool lock?"); |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | bool |
| 375 | Http2ServerSession::is_multiplexing() const |
no test coverage detected