Improve computation of freshness.
commit123882e54bb511db07980b0c6cf80aa95d2e4f0f
authorJuliusz Chroboczek <jch@pps.jussieu.fr>
Tue, 21 Nov 2006 18:22:56 +0000 (21 10:22 -0800)
committerJuliusz Chroboczek <jch@pps.jussieu.fr>
Tue, 21 Nov 2006 18:22:56 +0000 (21 10:22 -0800)
tree357f775b391610d08d751014c4412443ef7ad9d2
parentdd71a9024658ea31ba159abe987933f3dcb8777a
Improve computation of freshness.

Fixes the case where the client specified either min_fresh or max_stale.
Makes maxAge not apply in the case where the server specified max-age.
Makes the case with no server-side information resistant to clock skew.

darcs-hash:20061121182256-4cc09-6a98c2306059e5122e8ae9a8779ce99963defd81.gz
http_parse.c
object.c