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

Function ts_lua_http_server_transaction_count

plugins/lua/ts_lua_http.cc:864–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864static int
865ts_lua_http_server_transaction_count(lua_State *L)
866{
867 ts_lua_http_ctx *http_ctx;
868
869 GET_HTTP_CONTEXT(http_ctx, L);
870
871 int n = TSHttpTxnServerSsnTransactionCount(http_ctx->txnp);
872 lua_pushnumber(L, n);
873
874 return 1;
875}
876
877static int
878ts_lua_http_redirect_url_set(lua_State *L)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected