[PATCH 1/2] Skip cache slot when time-to-live is zero

Lukas Fleischer cgit at cryptocrack.de
Sat Feb 8 14:45:42 CET 2014


On Sat, 08 Feb 2014 at 14:41:56, Jason A. Donenfeld wrote:
> > On Feb 6, 2014 10:07 PM, "Lukas Fleischer" <cgit at cryptocrack.de> wrote:
> >
> > This is different. -1 means "never expire". 0 means "always expire".
> 
> Ahh perfect -- this is exactly the type of distinction I was looking for.
> Do we have this documented?

Yes, -1 is documented in the man page and it is quite clear that 0 means
"always expire" (directly follows from the general description of what
the *-ttl variables do).


More information about the CGit mailing list