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

Function TSSslSessionGetBuffer

src/api/InkAPI.cc:8507–8516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8505}
8506
8507int
8508TSSslSessionGetBuffer(const TSSslSessionID *session_id, char *buffer, int *len_ptr)
8509{
8510 int true_len = 0;
8511 // Don't get if there is no session id or the cache is not yet set up
8512 if (session_id && session_cache && len_ptr) {
8513 true_len = session_cache->getSessionBuffer(reinterpret_cast<const SSLSessionID &>(*session_id), buffer, *len_ptr);
8514 }
8515 return true_len;
8516}
8517
8518TSReturnCode
8519TSSslSessionInsert(const TSSslSessionID *session_id, TSSslSession add_session, TSSslConnection ssl_conn)

Callers

nothing calls this directly

Calls 1

getSessionBufferMethod · 0.80

Tested by

no test coverage detected