| 813 | } |
| 814 | |
| 815 | static int |
| 816 | ts_lua_http_is_aborted(lua_State *L) |
| 817 | { |
| 818 | ts_lua_http_ctx *http_ctx; |
| 819 | |
| 820 | GET_HTTP_CONTEXT(http_ctx, L); |
| 821 | bool client_abort = false; |
| 822 | if (TSHttpTxnAborted(http_ctx->txnp, &client_abort)) { |
| 823 | lua_pushnumber(L, 1); |
| 824 | } else { |
| 825 | lua_pushnumber(L, 0); |
| 826 | } |
| 827 | |
| 828 | return 1; |
| 829 | } |
| 830 | |
| 831 | static int |
| 832 | ts_lua_http_skip_remapping_set(lua_State *L) |
nothing calls this directly
no test coverage detected