Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Varnish client download error
varnishtest "varnishncsa logging a client error"
server s1 {
rxreq
txresp -bodylen 10000000
} -start
varnish v1 -vcl+backend {
} -start
logexpect l1 -v v1 {
expect * * Debug "Write error"
} -start
client c1 {
txreq
rxresphdrs
recv 100
} -run
logexpect l1 -wait
shell {
varnishncsa -n ${v1_name} -d -c -F "%{VSL:Debug}x"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment