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

Function ts_lua_set_http_intercept_ctx

plugins/lua/ts_lua_util.cc:890–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890void
891ts_lua_set_http_intercept_ctx(lua_State *L, ts_lua_http_intercept_ctx *ictx)
892{
893 lua_pushliteral(L, "__ts_http_intercept_ctx");
894 lua_pushlightuserdata(L, ictx);
895 lua_rawset(L, LUA_GLOBALSINDEX);
896}
897
898ts_lua_http_intercept_ctx *
899ts_lua_get_http_intercept_ctx(lua_State *L)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected