Lines Matching refs:r
120 return function(r)
121 local res, detail = nr(r)
122 mcp.log_req(r, res, detail)
138 return function(r)
139 local res = near_zone(r)
145 local restable = mcp.await(r, far_zones, 1)
165 return function(r)
166 if r:has_flag("l") == true then
169 local texists, token = r:flag_token("O")
175 local res = near_zone(r)
184 return function(r)
185 local res = near_zone(r)
207 return function(r)
208 local res = near_zone(r)
211 local dr = new_req("delete /testing/" .. r:key() .. "\r\n")
219 …mcp.log_req(r, res, "setinvalidate") -- time against the original request, since we have no result.
234 return function(r)
235 local i, j, match = string.find(r:key(), p)
239 r:ltrimkey(j)
244 return d(r)
247 return route(r)
256 return function(r)
257 local route = l[string.match(r:key(), p)]
261 return d(r)
263 return route(r)
271 return function(r)
272 local f = map[r:command()]
275 return d(r)
282 return f(r)
295 return function(r)
296 local restable = mcp.await(r, p)
330 …local routetop = prefix_factory("^/(%a+)/", prefixes, function(r) return "SERVER_ERROR no route\r\…