diff options
Diffstat (limited to 'test/benchmark/dd.ru')
-rw-r--r-- | test/benchmark/dd.ru | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark/dd.ru b/test/benchmark/dd.ru index 7e9a3fa..111fa2e 100644 --- a/test/benchmark/dd.ru +++ b/test/benchmark/dd.ru @@ -11,7 +11,7 @@ count = ENV['count'] ? ENV['count'].to_i : 1 slice = (' ' * bs).freeze body = (1..count).map { slice }.freeze hdr = { - 'Content-Length' => bs * count, + 'Content-Length' => (bs * count).to_s.freeze, 'Content-Type' => 'text/plain'.freeze }.freeze response = [ 200, hdr, body ].freeze |