* ap_set_keepalive (request_rec *r) * Set the keepalive status for this request * @param r The current request * @return 1 if keepalive can be set, 0 otherwise */
| 1732 | * @return 1 if keepalive can be set, 0 otherwise |
| 1733 | */ |
| 1734 | static int lua_ap_set_keepalive(lua_State *L) |
| 1735 | { |
| 1736 | int returnValue; |
| 1737 | request_rec *r; |
| 1738 | luaL_checktype(L, 1, LUA_TUSERDATA); |
| 1739 | r = ap_lua_check_request_rec(L, 1); |
| 1740 | returnValue = ap_set_keepalive(r); |
| 1741 | lua_pushboolean(L, returnValue); |
| 1742 | return 1; |
| 1743 | } |
| 1744 | |
| 1745 | /** |
| 1746 | * ap_make_etag (request_rec *r, int force_weak) |
nothing calls this directly
no test coverage detected