Derrick Brashear wrote:
>> Although this is an implementation detail, as a point of fact the
>> Windows cache manager records
>> AFSDB record TTL values and uses them to timeout the server lists.  It
>> is true that the
>> Unix cache manager does not do so and this should be fixed but that is not
>> a topic for this list.
>
> Actually, it's not.
>
>         ttl = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
>         p += 4;                 /* Skip the TTL */
>
> ...
>                 if (!minttl || ttl < minttl)
>                     minttl = ttl;
> ...
>     acellInfo->timeout = minttl ? (time(0) + minttl) : 0;
Even better.   There is nothing to say or fix.  :-)




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
AFS3-standardization mailing list
[email protected]
http://michigan-openafs-lists.central.org/mailman/listinfo/afs3-standardization

Reply via email to