From f5b478bbe82e8c35486a2e2ec5cabdd8b7f3fc0f Mon Sep 17 00:00:00 2001 From: Selim Gurun Date: Thu, 17 Nov 2011 11:09:09 -0800 Subject: Enable persistent http connections. Bug:5347735 Change-Id: I03712a4a9a59b62440b6190fc84fe8ed78d072e7 --- net/http/http_basic_stream.cc | 6 ------ 1 file changed, 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() { -- cgit v1.1