If-Modified-Since

Anders Berg andersb at vgnett.no
Tue Aug 15 17:47:51 CEST 2006


On Aug 15, 2006, at 14:22, Poul-Henning Kamp wrote:

> In message <ujrr6zi2sr2.fsf at cat.linpro.no>, Dag-Erling =?iso-8859-1? 
> Q?Sm=F8rgrav?= writes:
>
>> This looks fishy:
>>
>>                if (ims > sp->obj->last_modified) {
>>                        VSL(SLT_Debug, sp->fd,
>>                            "Cond: %d > %d ", sp->obj- 
>> >last_modified, ims);
>>                        return (0);
>>                }
>>
>> Note how the if test and the debug message disagree.
>
> DUH!
>
> Yes, that test is the wrong way around.
>

Okay, so we can assume/confirm that this is what has been causing the  
"old page" bug?

Anders Berg

> -- 
> 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.
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-dev
>




More information about the varnish-dev mailing list