> -----Original Message----- > From: Ryujiro Shibuya > Sent: Mittwoch, 14. April 2010 03:35 > To: dev@httpd.apache.org > Subject: Age calculation in mod_cache. > > Hello, > > A minor issue in the age calculation in mod_cache > [ap_cache_current_age() in > cache_util.c] is found. > > In some unusual conditions, the age of cached content can be > calculated as > negative value. > The negative age value will be casted into a huge unsigned > integer later, > and then the inappropriate Age header e.g. "Age: 4294963617" > (= more than > 135 years) may be returned to the client. > > In my opinion, the negative age should be adjusted to zero, at least. > What are your thoughts?
Makes sense. Fixed in trunk as r933886. Regards Rüdiger