]> Sergey Matveev's repositories - public-inbox.git/commit
fetch: drop 304 Not Modified support, simplify comparisons
authorEric Wong <e@80x24.org>
Sun, 12 Sep 2021 11:58:15 +0000 (11:58 +0000)
committerEric Wong <e@80x24.org>
Sun, 12 Sep 2021 12:01:24 +0000 (12:01 +0000)
commitdc489bfd4b4c659b7ebb166ab540b4e767e51aaa
tree3cc77bc3da1bb325674571e475e65bedfc7cd86a
parent3937f58b74e4b764e76ade523fec8497aa1b0611
fetch: drop 304 Not Modified support, simplify comparisons

Timestamp comparisons only have 1 second granularity, which
isn't nearly enough for our test cases, and probably not for
real world use for "git send-email" bursts and fast SMTP
servers.

We'll continue to check modification times inside the manifest,
though, in case an extremely rare SHA-1 collision is found...
lib/PublicInbox/Fetch.pm
lib/PublicInbox/LeiMirror.pm
t/lei-mirror.t
t/v2mirror.t