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

Function ts_lua_http_get_ssn_id

plugins/lua/ts_lua_http.cc:786–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786static int
787ts_lua_http_get_ssn_id(lua_State *L)
788{
789 ts_lua_http_ctx *http_ctx;
790
791 GET_HTTP_CONTEXT(http_ctx, L);
792
793 int64_t id = TSHttpSsnIdGet(TSHttpTxnSsnGet(http_ctx->txnp));
794 lua_pushnumber(L, id);
795
796 return 1;
797}
798
799static int
800ts_lua_http_is_internal_request(lua_State *L)

Callers

nothing calls this directly

Calls 2

TSHttpSsnIdGetFunction · 0.85
TSHttpTxnSsnGetFunction · 0.85

Tested by

no test coverage detected