In message <[EMAIL PROTECTED]>, "anda
n andan" writes:
>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 ?

Depends which varnish version you use.

-trunk can PASS requests with content, so that is how it should be
in the future.

Older versions can not, and need to use PIPE.

The default VCL built into varnish always gets this right.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to