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

Function ts_lua_http_get_id

plugins/lua/ts_lua_http.cc:773–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771}
772
773static int
774ts_lua_http_get_id(lua_State *L)
775{
776 ts_lua_http_ctx *http_ctx;
777
778 GET_HTTP_CONTEXT(http_ctx, L);
779
780 uint64_t id = TSHttpTxnIdGet(http_ctx->txnp);
781 lua_pushnumber(L, id);
782
783 return 1;
784}
785
786static int
787ts_lua_http_get_ssn_id(lua_State *L)

Callers

nothing calls this directly

Calls 1

TSHttpTxnIdGetFunction · 0.85

Tested by

no test coverage detected