Comment 4 for bug 1076148

Revision history for this message
dormando (dormando) wrote :

There's really no place in your connector where you can do: if (TTL > (30 * 86400) { TTL = time() + TTL; } ?

Because that's, you know, pretty close to how we do it internally. Since the protocol is "dumb" we have to do that differentiation on our own, too.

When an expiration value is sufficiently far enough into the future to warrant a date, usually the clocks being off by a few seconds doesn't matter. Most small values are noticable problems however.