diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-22 20:52:00 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-22 20:52:27 -0700 |
commit | 018f827ebdc1668d2262ef1337386f896379e0f6 (patch) | |
tree | b68430921dd6d2eedce01ebeb1ae86056331fedb /test/benchmark/dd.ru | |
parent | 98ea5cca50b907e20d6357f425d7789bac1d1a47 (diff) | |
download | unicorn-018f827ebdc1668d2262ef1337386f896379e0f6.tar.gz |
Newer versions of Unicorn "enforce" this by splitting on "\n" to handle Rack-style multi-value headers.
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 |