Commit ebc68751 authored by Geoff Simmons's avatar Geoff Simmons

VCL: now tracking X-Origin

parent 2ce7ee5b
......@@ -14,10 +14,14 @@ sub vcl_recv_track {
std.log("track " + req.xid + " cookie="
+ urlcode.encode(req.http.Cookie));
}
if (req.http.User-Agent ~ ".") {
if (req.http.User-Agent) {
std.log("track " + req.xid + " ua="
+ urlcode.encode(req.http.User-Agent));
}
if (req.http.X-Origin) {
std.log("track " + req.xid + " X-Origin="
+ urlcode.encode(req.http.X-Origin));
}
}
if (req.url ~ "^/ts-rcv") {
if (req.url ~ "\?") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment