mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 04:17:03 +00:00
improve cache handler, embracing #2210 too
This commit is contained in:
@@ -5865,7 +5865,7 @@ func (ctx *Context) GetRequestCookie(name string, options ...CookieOption) (*htt
|
||||
|
||||
var (
|
||||
// CookieExpireDelete may be set on Cookie.Expire for expiring the given cookie.
|
||||
CookieExpireDelete = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
|
||||
CookieExpireDelete = memstore.ExpireDelete
|
||||
|
||||
// CookieExpireUnlimited indicates that does expires after 24 years.
|
||||
CookieExpireUnlimited = time.Now().AddDate(24, 10, 10)
|
||||
|
||||
Reference in New Issue
Block a user