{"author":"Daniel Stenberg","author_email":"daniel@haxx.se","author_time":1736327966,"commit_time":1736493603,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"386f570df60f58fe9e90dddbda2fdd822a318f04","message":"cookie: cap expire times to 400 days\n\nThe pending cookie RFC update (currently known as 6265bis draft-19) says\n\n  Let cookie-age-limit be the maximum age of the cookie (which name of\n  Max-Age and an attribute-value of expiry-time. SHOULD be 400 days or\n  less.\n\nThis change makes received cookies over the wire get capped to 400 days.\n\nIt does not cap the expiry date of cookies loaded from file.\n\nIt does this by rounding the expire time to a even minute. This, to\nallow the test suite to do the same and have a chance to get the same\nnumber for stable testing without requiring a debug build.\n\nThe test script generates TWO numbers in the output file for each\n%days[] used in the input test file, and the function that subsequently\ncompares and verifies output is fine with *either* of the two numbers.\n\nThis is done so that if the test case is generated the second\nimmediately before curl runs, that updated expiry number is also deemed\nokay. It still checks for an exact match of either number.\n\nCloses #15937\n","parents":["533dc84e6e5ea325b0d58bd99be6596421089728"],"tree_hash":"1e998717732c44f81d823882f76cba362949a94b"}