summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 16:40:57 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 16:40:57 +0000
commit64d669a0d12e720f00958c64bccaadd88dbdeed1 (patch)
treeb1619e0486c0f89a02121732146fe1ca358fa7b1 /net/spdy
parentbe3c882cebf1beee0242d356c91a982750bb4697 (diff)
downloadchromium_src-64d669a0d12e720f00958c64bccaadd88dbdeed1.zip
chromium_src-64d669a0d12e720f00958c64bccaadd88dbdeed1.tar.gz
chromium_src-64d669a0d12e720f00958c64bccaadd88dbdeed1.tar.bz2
Remove the small read buffer size for windows; we landed the async IO
handler some time ago, so this is unnecessary. I've verified there is no performance difference between these two sizes. BUG=none TEST=existing Review URL: http://codereview.chromium.org/3305014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 52322c1..4592f3b 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -32,13 +32,7 @@ namespace net {
namespace {
-#ifdef WIN32
-// We use an artificially small buffer size on windows because the async IO
-// system will artifiially delay IO completions when we use large buffers.
-const int kReadBufferSize = 2 * 1024;
-#else
const int kReadBufferSize = 8 * 1024;
-#endif
void AdjustSocketBufferSizes(ClientSocket* socket) {
// Adjust socket buffer sizes.