diff options
author | Eric Wong <e@80x24.org> | 2019-01-29 03:37:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-29 21:36:02 +0000 |
commit | 75154e05332cae23502bb5b503fe5c797bdf6526 (patch) | |
tree | 8cc81227c493b6a457bab4c9883322976969835e /t | |
parent | a401ba449b6005632d817cae573939bdffc7125b (diff) | |
download | public-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.perl | 2 |
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}); |