about summary refs log tree commit homepage
path: root/test/benchmark/request.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-05-03 15:25:53 -0700
committerEric Wong <normalperson@yhbt.net>2009-05-03 15:25:53 -0700
commit895ae151c8703ebcd52becf5f2ca297d21274ef6 (patch)
tree22105114a6d201016362d4a81ff9c4d83a1ab4d9 /test/benchmark/request.rb
parentc88dafaa616ddd0741f929f5c5988e0c8769b15f (diff)
parent64166e69ff4991f95192f16cb1d8cb8807fab21a (diff)
downloadunicorn-895ae151c8703ebcd52becf5f2ca297d21274ef6.tar.gz
* commit 'origin/benchmark':
  benchmark/*: updates for newer versions of Unicorn
Diffstat (limited to 'test/benchmark/request.rb')
-rw-r--r--test/benchmark/request.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/benchmark/request.rb b/test/benchmark/request.rb
index 67266cb..1b2d280 100644
--- a/test/benchmark/request.rb
+++ b/test/benchmark/request.rb
@@ -10,6 +10,9 @@ class TestClient
     buf.replace(@response)
   end
 
+  alias readpartial sysread
+
+  # old versions of Unicorn used this
   def unicorn_peeraddr
     '127.0.0.1'
   end