summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_parser.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 19:34:57 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 19:34:57 +0000
commit0948989a3cfd8cab9e48108beb33f0b84d593eed (patch)
tree38a764ab32d81068fcf80c18f6c19bd58bdd6ae0 /net/http/http_stream_parser.h
parentcf1b6177370ae8ce84173d58f0b2e25a423927d3 (diff)
downloadchromium_src-0948989a3cfd8cab9e48108beb33f0b84d593eed.zip
chromium_src-0948989a3cfd8cab9e48108beb33f0b84d593eed.tar.gz
chromium_src-0948989a3cfd8cab9e48108beb33f0b84d593eed.tar.bz2
Http cache: make sure that we revalidate a cached entry
when the requested byte range looks wrong. We postpone the decision about what to do with a cached entry until we receive confirmation from the server, so we cannot skip asking the server about it!. This CL also makes it so that if the server returns 304 (so that our cached copy is curent), we don't destroy the entry, and we return 416 (bad range request) to the caller. BUG=58047 TEST=net_unittests Review URL: http://codereview.chromium.org/3611013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_parser.h')
0 files changed, 0 insertions, 0 deletions