Skip to content

Instantly share code, notes, and snippets.

@rezan
Created June 18, 2020 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rezan/8a0909a70594f1ab221d96c88a77890e to your computer and use it in GitHub Desktop.
Save rezan/8a0909a70594f1ab221d96c88a77890e to your computer and use it in GitHub Desktop.
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