From dad99b5ecd93cdf0a514ff9fb51d198f8aebb188 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 7 Apr 2015 08:07:35 +0000 Subject: test/test_proxy_pass: remove buffer size tuning On one of my ancient, cache-starved home systems, this tends to cause pathologically bad performance during some of these tests. --- test/test_proxy_pass.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_proxy_pass.rb') diff --git a/test/test_proxy_pass.rb b/test/test_proxy_pass.rb index c1539f8..f5ae12f 100644 --- a/test/test_proxy_pass.rb +++ b/test/test_proxy_pass.rb @@ -210,7 +210,7 @@ class TestProxyPass < Testcase @srv2.close cfg.instance_eval do app(:rack, Yahns::ProxyPass.new("http://#{host2}:#{port2}")) do - listen "#{host}:#{port}", sndbuf: 16384 + listen "#{host}:#{port}" client_max_body_size nil end stderr_path err.path @@ -221,7 +221,7 @@ class TestProxyPass < Testcase @srv.close cfg.instance_eval do app(:rack, ProxiedApp.new) do - listen "#{host2}:#{port2}", rcvbuf: 4096 + listen "#{host2}:#{port2}" client_max_body_size nil end stderr_path err.path -- cgit v1.2.3-24-ge0c7