Pass and pipe in trunk version

andan andan armdan20 at gmail.com
Mon May 26 13:20:51 CEST 2008


Hi.

According to: http://varnish.projects.linpro.no/wiki/FAQ#ShouldIusepipeorpassinmyVCLcode

pipe must be used to handle POST requests, but according to:

http://varnish.projects.linpro.no/wiki/VCLExampleDefault

POST requests are handled with pass.

    if (req.request != "GET" && req.request != "HEAD") {
        /* We only deal with GET and HEAD by default */
        pass;
    }


What document is wrong ?

Thanks in advance.
Best regards.



More information about the varnish-misc mailing list