about summary refs log tree commit homepage
path: root/test/benchmark/request.rb
diff options
context:
space:
mode:
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