Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6842:    "cache-status": ({"%s", ("sizeof(request_id->cache_status||({}))?"    "indices(request_id->cache_status)*\",\":"    "\"nocache\""),    1, "\"-\"", 0}),    "eval-status": ({"%s", ("sizeof(request_id->eval_status||({}))?"    "indices(request_id->eval_status)*\",\":"    "\"-\""),    1, "\"-\"", 0}),    "protcache-cost": ({"%d", "request_id->misc->protcache_cost",    1, "\"-\"", 0}), +  "forwarded": ({"%s", ("request_id->misc->forwarded ? " +  "MIME.tokenize(request_id->misc->forwarded) : " +  "\"-\""), +  1, "\"-\"", 0 }), +  // FIXME: The following ought to use misc->forwarded.    "xff": ({"%s", ("arrayp(request_id->request_headers["    "\"x-forwarded-for\"]) ? "    "(request_id->request_headers["    "\"x-forwarded-for\"][-1] / \",\")[0] :"    "((request_id->request_headers["    "\"x-forwarded-for\"] || \"-\") / \",\")[0]"),    1, "\"-\"", 0 }),       // Used for event logging    "facility": ({"-", 0, "%s", "facility", 0}),