Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P6192
(An Untitled Masterwork)
Active
Public
Actions
Authored by
•
ema
on Oct 26 2017, 12:57 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F10446787:
Oct 26 2017, 12:57 PM
2017-10-26 12:57:17 (UTC+0)
Subscribers
None
varnishtest "CL set with do_stream=false"
server s1 {
loop 3 {
rxreq
txresp -nolen -hdr "Transfer-encoding: chunked"
delay .2
chunkedlen 42
delay .2
chunkedlen 0
}
} -start
varnish v2 -vcl+backend {
sub vcl_backend_response {
if (bereq.url == "/3") {
set beresp.do_stream = false;
}
}
} -start
varnish v1 -vcl {
backend b {
.host = "${v2_addr}";
.port = "${v2_port}";
}
sub vcl_backend_response {
if (bereq.url == "/2") {
set beresp.do_stream = false;
}
}
} -start
client c1 {
txreq -url "/1"
rxresp
expect resp.http.Content-Length == <undef>
txreq -url "/2"
rxresp
expect resp.http.Content-Length == 42
txreq -url "/3"
rxresp
expect resp.http.Content-Length == 42
} -run
Event Timeline
•
ema
created this paste.
Oct 26 2017, 12:57 PM
2017-10-26 12:57:17 (UTC+0)
Salgo60
mentioned this in
T210062: Add Bygdeband to Wikidata as a Property and match "Församlingar" Property 6192
.
Aug 8 2019, 7:42 AM
2019-08-08 07:42:04 (UTC+0)
Log In to Comment