]> Sergey Matveev's repositories - public-inbox.git/commitdiff
xt: remove eml_check_roundtrip
authorEric Wong <e@80x24.org>
Sat, 17 Oct 2020 08:17:01 +0000 (08:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 17 Oct 2020 20:24:03 +0000 (20:24 +0000)
If there's no body ({bdy} field), ->each_part set the {bdy}
field to "\n" and the ->as_string result afterwards is one
extra "\n" byte longer than the original.

It's not worth extra cycles in common ->each_part calls to
ensure 100% round-trip matches of header-only messages (which
are likely spam), especially when the only difference is a
trailing "\n".

MANIFEST

index 65fa87360ff579479e55bd683776dad606e4706a..b6a681e9b533e50971ae416a25ef7f9d94a6eb10 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -385,7 +385,6 @@ t/xcpdb-reshard.t
 xt/cmp-msgstr.t
 xt/cmp-msgview.t
 xt/eml_check_limits.t
-xt/eml_check_roundtrip.t
 xt/git-http-backend.t
 xt/git_async_cmp.t
 xt/httpd-async-stream.t