From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: yahns-public@yhbt.net Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id BC9CC1F526 for ; Tue, 7 Apr 2015 08:08:53 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH] test/test_proxy_pass: remove buffer size tuning Date: Tue, 7 Apr 2015 08:08:53 +0000 Message-Id: <1428394133-1145-1-git-send-email-e@80x24.org> List-Id: 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(-) 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 -- EW