about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <BOFH@YHBT.net>2023-06-05 10:12:49 +0000
committerEric Wong <bofh@yhbt.net>2023-06-05 10:39:01 +0000
commitf2e34f618dc012973cf7fff1e4ca82817e5b5c48 (patch)
tree234ad6510ca38590aeb1d406f06e49f57961a78f /test
parentf542e431401fa2dbd8bd15847a6540da81680754 (diff)
downloadunicorn-f2e34f618dc012973cf7fff1e4ca82817e5b5c48.tar.gz
MD5 is faster, and these tests aren't meant to be secure,
they're just for checking for data corruption.
Furthermore, Content-MD5 is a supported HTTP trailer and
we can verify that here to obsolete other tests.

Furthermore, we can reuse buffers on env['rack.input'].read
calls to avoid malloc(3) and GC overhead.

Combined, these give roughly a 3% speedup for t/integration.t
on my system.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions