about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-29 03:37:24 +0000
committerEric Wong <e@80x24.org>2019-01-29 21:36:02 +0000
commit75154e05332cae23502bb5b503fe5c797bdf6526 (patch)
tree8cc81227c493b6a457bab4c9883322976969835e /t
parenta401ba449b6005632d817cae573939bdffc7125b (diff)
downloadpublic-inbox-75154e05332cae23502bb5b503fe5c797bdf6526.tar.gz
They can be extremely large with no limit, so can lead to OOM
errors.
Diffstat (limited to 't')
-rw-r--r--t/check-www-inbox.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/check-www-inbox.perl b/t/check-www-inbox.perl
index 933362a7..0a6d61bb 100644
--- a/t/check-www-inbox.perl
+++ b/t/check-www-inbox.perl
@@ -175,7 +175,7 @@ sub worker_loop {
                 my $s;
                 # blocking
                 foreach my $l (@links, "DONE\t$u") {
-                        next if $l eq '';
+                        next if $l eq '' || $l =~ /\.mbox(?:\.gz)\z/;
                         do {
                                 $s = $done_wr->send($l, MSG_EOR);
                         } while (!defined $s && $!{EINTR});