summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2021-03-01 08:30:09 +0100
committerThomas Wolf <thomas.wolf@paranor.ch>2021-03-03 00:26:51 +0100
commit40d6eda3f16f24db20776d33e586737efeddc725 (patch)
tree6b3fc17727c51651e323dcc52a8a1c61b2cb0fec /org.eclipse.jgit.archive
parent535f446a2e570ff769348af5a3e7b1b5df9889ea (diff)
downloadjgit-40d6eda3f16f24db20776d33e586737efeddc725.tar.gz
jgit-40d6eda3f16f24db20776d33e586737efeddc725.zip
HTTP: cookie file stores expiration in seconds
A cookie file stores the expiration in seconds since the Linux Epoch, not in milliseconds. Correct reading and writing cookie files; with a backwards-compatibility hack to read files that contain a millisecond timestamp. Add a test, and fix tests not to rely on the actual current time so that they will also run successfully after 2030-01-01 noon. Bug: 571574 Change-Id: If3ba68391e574520701cdee119544eedc42a1ff2 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.archive')
0 files changed, 0 insertions, 0 deletions