From: Kir Kolyshkin (no email)
Date: Wed Feb 26 2003 - 04:08:56 EST
I'm just realized that the implementation is probably buggy, as m_period is
overwritten later, in UpdateUrl or UpdateLongUrl. Can you please check it,
and if that doesn't work, submit a report to bugzilla?
Kir Kolyshkin wrote:
> Juha-Mikko Ahonen wrote:
>
>> Does ASPSeek use the information in the Expires header when
>> calculating next index time for a URL?
>
>
> Yes, but only if that makes next reindexing time more than now() + Period.
> See the following code:
>
> else if (!STRNCASECMP(tok, "Expires: "))
> {
> exp_time = httpDate2time_t(tok + 9);
> }
>
> <...skipped...>
>
> // Override next index time if server sent "Expires:" header
> // and it is later than after our Period --kir.
> if (exp_time > ucontent.m_url.m_period)
> ucontent.m_url.m_period = exp_time;
>
--
== kir_at_asplinux.ru == 7551596_at_ICQ == 6722750_at_sms.beemail.ru ==
Stuckness shouldn't be avoided. It's the psychic predecessor of all
real understanding. An egoless acceptance of stuckness is a key to an
understanding of all Quality, in mechanical work as in other endeavors.
-- R. Pirsig, "Zen and the Art of Motorcycle Maintenance"
|
|
|