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

Function TSSslSessionRemove

src/api/InkAPI.cc:8539–8550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8537}
8538
8539TSReturnCode
8540TSSslSessionRemove(const TSSslSessionID *session_id)
8541{
8542 // Don't remove if there is no session id or the cache is not yet set up
8543 if (session_id && session_cache) {
8544 session_cache->removeSession(reinterpret_cast<const SSLSessionID &>(*session_id));
8545 // removeSession returns void, assume all went well
8546 return TS_SUCCESS;
8547 } else {
8548 return TS_ERROR;
8549 }
8550}
8551
8552// APIs for managing and using UUIDs.
8553TSUuid

Callers

nothing calls this directly

Calls 1

removeSessionMethod · 0.45

Tested by

no test coverage detected