]> Sergey Matveev's repositories - public-inbox.git/commitdiff
net_reader: drop support for IgnoreSizeErrors option
authorEric Wong <e@80x24.org>
Sun, 26 Sep 2021 21:25:47 +0000 (21:25 +0000)
committerEric Wong <e@80x24.org>
Sun, 26 Sep 2021 23:31:12 +0000 (23:31 +0000)
Only the ->message_string method of Mail::IMAPClient uses it,
and we have no intention of using ->message_string outside
of tests.

Documentation/lei-config.pod
lib/PublicInbox/NetReader.pm

index c91f36eed4ed9de6477e8293282737bf1ff5dc9f..154295cee56dfaa0b846fe32d621f6ea4fd72729 100644 (file)
@@ -84,12 +84,6 @@ Small responses for IMAP flags are fetched at 10000 times this value.
 
 Default: 1
 
-=item imap.ignoreSizeErrors
-
-Ignore size mismatches from broken IMAP server implementations.
-
-Default: false
-
 =item color.SLOT
 
 C<quoted>, C<hdrdefault>, C<status>, C<attachment> color slots
index eab7320e913aefc9441c63cb4b0b1bf441f30996..2b74af4142155a76a632369ebfed81b240c50f4b 100644 (file)
@@ -328,7 +328,7 @@ sub imap_common_init ($;$) {
                my $sec = uri_section($uri);
 
                # knobs directly for Mail::IMAPClient->new
-               for my $k (qw(Starttls Debug Compress Ignoresizeerrors)) {
+               for my $k (qw(Starttls Debug Compress)) {
                        my $bool = cfg_bool($cfg, "imap.$k", $$uri) // next;
                        $mic_common->{$sec}->{$k} = $bool;
                }