yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] test/test_proxy_pass: remove buffer size tuning
@ 2015-04-07  8:08 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-04-07  8:08 UTC (permalink / raw)
  To: yahns-public

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-07  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  8:08 [PATCH] test/test_proxy_pass: remove buffer size tuning Eric Wong

Code repositories for project(s) associated with this inbox:

	../../../yahns.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).