Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P5291
hfp-objsize.vtc
Active
Public
Actions
Authored by
•
ema
on Apr 19 2017, 5:01 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F7640781: hfp-objsize.vtc
Apr 19 2017, 5:01 PM
2017-04-19 17:01:17 (UTC+0)
Subscribers
None
varnishtest "Test hit for pass obj size"
server s1 {
rxreq
expect req.url == "/foo"
txresp -body foobar
rxreq
expect req.url == "/foo"
txresp -body foobar1
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.uncacheable = true;
}
} -start
client c1 {
txreq -url "/foo"
rxresp
expect resp.http.x-varnish == "1001"
txreq -url "/foo"
rxresp
expect resp.http.x-varnish == "1003"
}
varnish v1 -expect SMA.Transient.g_bytes == 0
client c1 -run
varnish v1 -expect SMA.Transient.g_bytes == 200
Event Timeline
•
ema
created this paste.
Apr 19 2017, 5:01 PM
2017-04-19 17:01:17 (UTC+0)
Log In to Comment