Good question. I actually tried that and it didn't seem to have the same
effect. I didn't try diving into why it wouldn't have the same effect as
the config I'm currently using:
sub vcl_recv {
...stuff to determine whether to lookup...
if (req.request == "POST") {
set req.http.connection = "close";
pipe;
}
}
On Feb 1, 2008 6:14 AM, Stig Sandbeck Mathisen <[EMAIL PROTECTED]> wrote:
> "Aaron Pfeifer" <[EMAIL PROTECTED]> writes:
>
> > (1) Upgrade to trunk (I was using 1.1.2)
>
> May not be the best choice for all, I think
>
> > (2) Add "set req.http.connection = "close";" immediately before the
> > pipe for a POST
>
> Would this be an appropriate config snippet?
>
> vcl_pipe {
> set req.http.connection = "close";
> }
>
> --
> Stig Sandbeck Mathisen, Linpro
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc