| 892 | } |
| 893 | |
| 894 | static int |
| 895 | ts_lua_http_get_server_state(lua_State *L) |
| 896 | { |
| 897 | ts_lua_http_ctx *http_ctx; |
| 898 | |
| 899 | GET_HTTP_CONTEXT(http_ctx, L); |
| 900 | |
| 901 | TSServerState ss = TSHttpTxnServerStateGet(http_ctx->txnp); |
| 902 | lua_pushnumber(L, ss); |
| 903 | |
| 904 | return 1; |
| 905 | } |
| 906 | |
| 907 | static int |
| 908 | ts_lua_http_get_remap_from_url(lua_State *L) |
nothing calls this directly
no test coverage detected