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

Function TSHttpSsnIdGet

src/api/InkAPI.cc:8664–8670  ·  view source on GitHub ↗

Returns unique client session identifier

Source from the content-addressed store, hash-verified

8662
8663// Returns unique client session identifier
8664int64_t
8665TSHttpSsnIdGet(TSHttpSsn ssnp)
8666{
8667 sdk_assert(sdk_sanity_check_http_ssn(ssnp) == TS_SUCCESS);
8668 ProxySession const *cs = reinterpret_cast<ProxySession *>(ssnp);
8669 return cs->connection_id();
8670}
8671
8672// Return information about the protocols used by the client
8673TSReturnCode

Callers 3

global_handlerFunction · 0.85
ts_lua_http_get_ssn_idFunction · 0.85

Calls 2

connection_idMethod · 0.45

Tested by

no test coverage detected