imap+nntp: share COMPRESS implementation
authorEric Wong <e@80x24.org>
Sat, 23 Jul 2022 04:41:55 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Sat, 23 Jul 2022 14:22:34 +0000 (14:22 +0000)
commit23af251dd607c4e75ab1e68063f2c885c48cc035
treea34def1fda7d3e5741dd05301032dd62908579be
parent9b0c238f887475d920a8589b492ec15c63770152
imap+nntp: share COMPRESS implementation

Their code was nearly identical to begin with, so save some
memory in -netd and disk space for all of our tarball/distro
users, at least.

And I seem to have used multiple inheritance successfully, here,
maybe...
MANIFEST
lib/PublicInbox/DS.pm
lib/PublicInbox/DSdeflate.pm [moved from lib/PublicInbox/NNTPdeflate.pm with 92% similarity]
lib/PublicInbox/IMAP.pm
lib/PublicInbox/IMAPD.pm
lib/PublicInbox/IMAPdeflate.pm [deleted file]
lib/PublicInbox/NNTP.pm
lib/PublicInbox/NNTPD.pm
xt/mem-imapd-tls.t