summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2011-11-17 11:09:09 -0800
committerSelim Gurun <sgurun@google.com>2011-11-17 11:11:08 -0800
commitf5b478bbe82e8c35486a2e2ec5cabdd8b7f3fc0f (patch)
tree123725f3da00602a7350897d284b1236b37589f7 /net
parent2c4085b2006233b5e3a3fe507d62642377b5dc2e (diff)
downloadexternal_chromium-f5b478bbe82e8c35486a2e2ec5cabdd8b7f3fc0f.zip
external_chromium-f5b478bbe82e8c35486a2e2ec5cabdd8b7f3fc0f.tar.gz
external_chromium-f5b478bbe82e8c35486a2e2ec5cabdd8b7f3fc0f.tar.bz2
Enable persistent http connections.
Bug:5347735 Change-Id: I03712a4a9a59b62440b6190fc84fe8ed78d072e7
Diffstat (limited to 'net')
-rw-r--r--net/http/http_basic_stream.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/http/http_basic_stream.cc b/net/http/http_basic_stream.cc
index 076d18f..6501a59 100644
--- a/net/http/http_basic_stream.cc
+++ b/net/http/http_basic_stream.cc
@@ -72,13 +72,7 @@ int HttpBasicStream::ReadResponseBody(IOBuffer* buf, int buf_len,
}
void HttpBasicStream::Close(bool not_reusable) {
-#ifdef ANDROID
- // Disable connection reuse for bug 5226268
- // [Browser] http keep-alive packets are sent too frequently to network
- parser_->Close(true);
-#else
parser_->Close(not_reusable);
-#endif
}
HttpStream* HttpBasicStream::RenewStreamForAuth() {