Commit a7409ba1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make bereq. available from vcl_fetch()


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2186 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1ee9c6cd
......@@ -284,7 +284,7 @@ DOT label="fetch from backend\n(find obj.ttl)"
DOT ]
DOT vcl_fetch [
DOT shape=record
DOT label="vcl_fetch()|req.\nobj."
DOT label="vcl_fetch()|req.\nobj.\nbereq."
DOT ]
DOT fetch -> vcl_fetch [style=bold,color=blue,weight=2]
DOT fetch_pass [
......
......@@ -101,22 +101,22 @@ set spobj {
# Request sent to backend
{ bereq.request
RW STRING
{ pipe pass miss }
{ pipe pass miss fetch }
"const struct sess *"
}
{ bereq.url
RW STRING
{ pipe pass miss }
{ pipe pass miss fetch }
"const struct sess *"
}
{ bereq.proto
RW STRING
{ pipe pass miss }
{ pipe pass miss fetch }
"const struct sess *"
}
{ bereq.http.
RW HDR_BEREQ
{ pipe pass miss }
{ pipe pass miss fetch }
"const struct sess *"
}
......
......@@ -110,28 +110,28 @@ struct var vcc_vars[] = {
"VRT_l_bereq_request(sp, ",
V_RW,
0,
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS | VCL_MET_FETCH
},
{ "bereq.url", STRING, 9,
"VRT_r_bereq_url(sp)",
"VRT_l_bereq_url(sp, ",
V_RW,
0,
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS | VCL_MET_FETCH
},
{ "bereq.proto", STRING, 11,
"VRT_r_bereq_proto(sp)",
"VRT_l_bereq_proto(sp, ",
V_RW,
0,
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS | VCL_MET_FETCH
},
{ "bereq.http.", HEADER, 11,
"VRT_r_bereq_http_(sp)",
"VRT_l_bereq_http_(sp, ",
V_RW,
"HDR_BEREQ",
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS
VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_MISS | VCL_MET_FETCH
},
{ "obj.proto", STRING, 9,
"VRT_r_obj_proto(sp)",
......
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