From: Eric Wong <e@80x24.org>
To: yahns-public@yhbt.net
Subject: [PATCH] test/test_proxy_pass: remove buffer size tuning
Date: Tue, 7 Apr 2015 08:08:53 +0000 [thread overview]
Message-ID: <1428394133-1145-1-git-send-email-e@80x24.org> (raw)
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
reply other threads:[~2015-04-07 8:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/yahns/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428394133-1145-1-git-send-email-e@80x24.org \
--to=e@80x24.org \
--cc=yahns-public@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/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).