From 1bf10b3a73509f3fc72fb7f267e767c0e2fa9376 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Mar 2009 01:52:09 -0700 Subject: Socket: add {snd,rcv}buf opts to bind_listen bind_listen takes a hash as its second parameter now, allowing the addition of :sndbuf and :rcvbuf options to specify the size of the buffers in bytes. These correspond to the SO_SNDBUF and SO_RCVBUF options via setsockopt(2) respectively. This also adds support for per-listener backlogs to be used. However, this is only an internal API change and the changes have not yet been exposed to the user via Unicorn::Configurator, yet. Also add a bunch of SocketHelper tests --- Manifest | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Manifest') diff --git a/Manifest b/Manifest index 0889fc7..3487b13 100644 --- a/Manifest +++ b/Manifest @@ -21,6 +21,9 @@ ext/unicorn/http11/http11_parser.rl ext/unicorn/http11/http11_parser_common.rl lib/unicorn.rb lib/unicorn/app/exec_cgi.rb +lib/unicorn/app/old_rails.rb +lib/unicorn/app/old_rails/static.rb +lib/unicorn/cgi_wrapper.rb lib/unicorn/configurator.rb lib/unicorn/const.rb lib/unicorn/http_request.rb @@ -30,9 +33,11 @@ lib/unicorn/socket.rb lib/unicorn/util.rb setup.rb test/aggregate.rb -test/benchmark/previous.rb -test/benchmark/simple.rb -test/benchmark/utils.rb +test/benchmark/README +test/benchmark/big_request.rb +test/benchmark/dd.ru +test/benchmark/request.rb +test/benchmark/response.rb test/exec/README test/exec/test_exec.rb test/test_helper.rb @@ -42,4 +47,5 @@ test/unit/test_http_parser.rb test/unit/test_request.rb test/unit/test_response.rb test/unit/test_server.rb +test/unit/test_socket_helper.rb test/unit/test_upload.rb -- cgit v1.2.3-24-ge0c7