summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 00:06:00 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 00:06:00 +0000
commitcf6cad85480fe35a3eb01d9021691eabca364610 (patch)
treed6e9c3a8e9b0f28a5a080a22da31fa0f819dcd6e /net
parent166e2303cbfc2091b4053864d4355945307d5a79 (diff)
downloadchromium_src-cf6cad85480fe35a3eb01d9021691eabca364610.zip
chromium_src-cf6cad85480fe35a3eb01d9021691eabca364610.tar.gz
chromium_src-cf6cad85480fe35a3eb01d9021691eabca364610.tar.bz2
Revert 33251 - Http cache: Delete the response headers when the network transaction
is recreated, and make sure that truncated_ is also creared. This is a tentative fix for some crashes from the reliability bot. BUG=28850 TEST=none TBR=eroman Review URL: http://codereview.chromium.org/444020 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/452002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/http/http_cache_transaction.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index 7d531fa..11e2e3d 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -1006,7 +1006,6 @@ bool HttpCache::Transaction::ValidatePartialResponse(
// messing up the headers.
partial_->RestoreHeaders(&custom_request_->extra_headers);
partial_.reset();
- truncated_ = false;
return false;
}
LOG(WARNING) << "Failed to revalidate partial entry";
@@ -1281,7 +1280,6 @@ void HttpCache::Transaction::OnNetworkInfoAvailable(int result) {
if (!ValidatePartialResponse(new_response->headers, &partial_content)) {
// Something went wrong with this request and we have to restart it.
network_trans_.reset();
- response_ = HttpResponseInfo();
BeginNetworkRequest();
return;
}