about summary refs log tree commit homepage
path: root/test/test_proxy_pass.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-04-07 08:07:35 +0000
committerEric Wong <e@80x24.org>2015-04-07 08:07:35 +0000
commitdad99b5ecd93cdf0a514ff9fb51d198f8aebb188 (patch)
tree1914dc2221fd17b9ce66711b92c3ce2df5c9a1ae /test/test_proxy_pass.rb
parentec786aa0df274bf66b7df209eade6a458009123c (diff)
downloadyahns-dad99b5ecd93cdf0a514ff9fb51d198f8aebb188.tar.gz
On one of my ancient, cache-starved home systems, this tends to
cause pathologically bad performance during some of these tests.
Diffstat (limited to 'test/test_proxy_pass.rb')
-rw-r--r--test/test_proxy_pass.rb4
1 files changed, 2 insertions, 2 deletions
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