Delay when fetching a page without Content-Length

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Mar 31 21:22:37 CEST 2007


In message <87veghdzw0.fsf at topper.koldfront.dk>, Adam =?iso-8859-1?Q?Sj=F8gren?= writes:
>On Sat, 31 Mar 2007 18:18:36 +0000, Poul-Henning wrote:
>
>> Hmm, you're running into a bug in the pass implementation which
>> have since been fixed.
>
>Ah, great.
>
>(Where can I read about meaning of these? I have scanned through
>vcl(7), varnishd(1) and the FAQ).
>
>> Try using pipe mode for authenticated requests instead, by putting
>> this in your vcl_recv function:
>
>> 	if (req.http.Authenticate || req.http.Cookie) {
>> 		pipe;
>> 	}
>
>Hm. I think I have done something wrong, because that made it worse:
>
> sub vcl_recv {
>         if (req.http.authorization) {

Should have been:  req.http.authenticate

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list