From c40acc381fce1ac7f58975d45bd88e26a5e4a973 Mon Sep 17 00:00:00 2001 From: "mbelshe@chromium.org" Date: Thu, 14 Jan 2010 01:02:53 +0000 Subject: Rename CloseIdleConnections -> CloseCurrentConnections. This method is (and was) just for debugging; while it was closing idle connections, that was not aggressive enough; the benchmark needs to close all connections, not just the idle ones. To ensure connections are abandoned, create a new pool; leaving the old pool to languish as any pending sockets die. BUG=none TEST=none Review URL: http://codereview.chromium.org/549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36208 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/extensions/v8/benchmarking_extension.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/extensions') diff --git a/webkit/extensions/v8/benchmarking_extension.cc b/webkit/extensions/v8/benchmarking_extension.cc index 4823718..0583f70 100644 --- a/webkit/extensions/v8/benchmarking_extension.cc +++ b/webkit/extensions/v8/benchmarking_extension.cc @@ -49,7 +49,7 @@ class BenchmarkingWrapper : public v8::Extension { } static v8::Handle CloseConnections(const v8::Arguments& args) { - webkit_glue::CloseIdleConnections(); + webkit_glue::CloseCurrentConnections(); return v8::Undefined(); } -- cgit v1.1