W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2011

Re: #290: Motivate one-year limit for Expires

From: Mark Nottingham <mnot@mnot.net>
Date: Sun, 24 Jul 2011 14:17:53 -0400
Cc: Willy Tarreau <w@1wt.eu>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <A55312F4-F25B-407F-A0DD-F5D0B4F36A89@mnot.net>
To: Brian Pane <brianp@brianp.net>

On 24/07/2011, at 2:16 PM, Brian Pane wrote:

> I think the problem with ignoring on the client side is that the
> clients that would need to ignore large values the most are probably
> those least likely to detect the problem.  E.g, if you send this:
> 
>    Expires: Fri, 01 Jan 2100 00:00:01 GMT
> 
> to a client that uses 32-bit Unix time_t values to hold times, how
> will that client interpret it?  The implementation might be able to
> detect the overflow, but maybe not.


Right -- to me, that's a bigger concern, and we might amend the proposed text to note that specifically. I don't know that we can do much else; implementations are just going to have to change how they store and work with time as it approaches...

Cheers,

--
Mark Nottingham   http://www.mnot.net/
Received on Sunday, 24 July 2011 18:18:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:45 GMT