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

Method remove_session

src/proxy/http2/Http2ServerSession.cc:356–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void
357Http2ServerSession::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
374bool
375Http2ServerSession::is_multiplexing() const

Callers 2

destroyMethod · 0.95
do_io_closeMethod · 0.95

Calls 2

this_ethreadFunction · 0.85
removeSessionMethod · 0.45

Tested by

no test coverage detected