In message <e6b3e5a61002210221q42a5f6a4v90b595c81a6ea...@mail.gmail.com>, Eran 
Sandler writes:

>I tried setting the header in vcl_recv (set req.http.MyHeader = "1";),
>[...] but it doesn't seem to get sent to the backend.

That should work.

Try running varnishlog, and keep an eye on the "TxHeader" lines, which
show what is sent to the backend.

You can also enable the vcl_trace parameter, which will put records
into the varnishlog, with line+char_pos of the VCL as it is executed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
p...@freebsd.org         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to