pass vs pipe
Dag-Erling Smørgrav
des at linpro.no
Mon Aug 20 16:11:09 CEST 2007
Ramon Navarro Bosch <ramon at epsem.upc.edu> writes:
> if (req.request != "GET" && req.request != "HEAD") {
> # Do not try to cache POST
> pass;
> }
This is wrong, pass mode can't handle POST requests (yet).
> VARNISH VERSION I USE: branch/1.1
>From when?
> the problem is on the not GET/HEAD rule :
>
> if we choose pass some people get error on POST commits ( don't respond )
>
> if we choose pipe some people get error ( it's my case ) that it
> takes a long time and finally it gave an error complaining about
> upstream.
If this happens with the latest from branches/1.1, Try applying the
patch from r1888.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-misc
mailing list