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

Function ts_lua_destroy_http_transform_ctx

plugins/lua/ts_lua_util.cc:1026–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026void
1027ts_lua_destroy_http_transform_ctx(ts_lua_http_transform_ctx *transform_ctx)
1028{
1029 ts_lua_cont_info *ci;
1030
1031 if (!transform_ctx) {
1032 return;
1033 }
1034
1035 ci = &transform_ctx->cinfo;
1036
1037 TS_LUA_RELEASE_IO_HANDLE((&transform_ctx->output));
1038 TS_LUA_RELEASE_IO_HANDLE((&transform_ctx->reserved));
1039
1040 ts_lua_release_cont_info(ci);
1041
1042 TSfree(transform_ctx);
1043}
1044
1045int
1046ts_lua_http_cont_handler(TSCont contp, TSEvent ev, void *edata)

Callers 1

ts_lua_transform_entryFunction · 0.85

Calls 2

ts_lua_release_cont_infoFunction · 0.85
TSfreeFunction · 0.85

Tested by

no test coverage detected