set req.http.Connection varnish

Tim Glabisch tim at ainfach.de
Mon Dec 17 22:10:39 CET 2012


Hello,

 

i try to set the connection setting (having some trouble with cutted content
using iis) to disable keep-alive.

my main Problem is that varnish doesnt allow me to overwrite the Connection
Header.

 

set req.http.Connection = "foo"; // nothing changed

set req.http.Connection2 = "foo"; // works great

 

everytime i try to set the req.http.Connection, varnish (3.0.0 / 3.0.4)
just ignores it.

 

example:

sub vcl_recv {

 

                set req.http.host = "google.de";

                set req.http.Connection = "foo";

                set req.http.Connection2 = "foo";

                return(lookup);

.

 

using wireshark i realized that the first set is ignored. i have the same
issue with accept-Encoding.

 

hope you can hep me :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20121217/272570e8/attachment-0001.html>


More information about the varnish-misc mailing list