diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-03 15:05:30 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-03 15:09:46 -0700 |
commit | 64166e69ff4991f95192f16cb1d8cb8807fab21a (patch) | |
tree | 41b06b460256a61f4b9cfdb0b3094c0e1dee97a2 /test/benchmark/request.rb | |
parent | 018f827ebdc1668d2262ef1337386f896379e0f6 (diff) | |
download | unicorn-64166e69ff4991f95192f16cb1d8cb8807fab21a.tar.gz |
* explain unicorn_peeraddr * support #readpartial in request * support #write in responses
Diffstat (limited to 'test/benchmark/request.rb')
-rw-r--r-- | test/benchmark/request.rb | 3 |
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 |