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

Function TSSslSessionGet

src/api/InkAPI.cc:8497–8505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8495}
8496
8497TSSslSession
8498TSSslSessionGet(const TSSslSessionID *session_id)
8499{
8500 SSL_SESSION *session = nullptr;
8501 if (session_id && session_cache) {
8502 session_cache->getSession(reinterpret_cast<const SSLSessionID &>(*session_id), &session, nullptr);
8503 }
8504 return reinterpret_cast<TSSslSession>(session);
8505}
8506
8507int
8508TSSslSessionGetBuffer(const TSSslSessionID *session_id, char *buffer, int *len_ptr)

Callers

nothing calls this directly

Calls 1

getSessionMethod · 0.45

Tested by

no test coverage detected