| 1024 | } |
| 1025 | |
| 1026 | void |
| 1027 | ts_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 | |
| 1045 | int |
| 1046 | ts_lua_http_cont_handler(TSCont contp, TSEvent ev, void *edata) |
no test coverage detected