From 96d8d7227295125e2f8c8020b6e3adf7989e9400 Mon Sep 17 00:00:00 2001 From: pp Date: Mon, 31 Jul 2006 23:54:47 +0000 Subject: - information about recently discovered weakness of 1 pass version git-svn-id: https://siedziba.pl:790/svn/repos/dbxrecover@239 455248ca-bdda-0310-9134-f4ebb693071a --- dbxrecover-1p | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbxrecover-1p') diff --git a/dbxrecover-1p b/dbxrecover-1p index 0ed226c..bd40cd2 100755 --- a/dbxrecover-1p +++ b/dbxrecover-1p @@ -161,7 +161,7 @@ use warnings; ($next, $data) = $self->combine($idhash, $nexthash, $next, $data, 1); ($id, $data) = $self->combine($nexthash, $idhash, $id, $data, 0); - # the test for first chunk is very simple and naive, but it works well enough + # TODO: better test for first chunk. Maybe a grace period to keep seemingly complete messages, in case of false positives. $self->{stats}->{chainscompl}++,return($data->join()) if (($next == 0) && ($data->first() =~ /^(From|From:|Return-Path:|Received:) /)); $idhash->{$id} = {} if (!defined($idhash->{$id})); $nexthash->{$next} = {} if (!defined($nexthash->{$next})); -- cgit v1.2.3