diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 18:39:53 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 18:39:53 +0000 |
commit | 6c74c2a80e7d2664308b932c7cd6787ef7aea20f (patch) | |
tree | c7f636cae6f03c8bf84de9f7e94e573b60b9e5d9 /net/base/sdch_manager.h | |
parent | 880b8305e94fb45c10e9ecbff4822dc11fae880b (diff) | |
download | chromium_src-6c74c2a80e7d2664308b932c7cd6787ef7aea20f.zip chromium_src-6c74c2a80e7d2664308b932c7cd6787ef7aea20f.tar.gz chromium_src-6c74c2a80e7d2664308b932c7cd6787ef7aea20f.tar.bz2 |
Add metarefresh for SDCH in yet another case.
I had historically hit meta-refresh loops, and the code appeared
to be too careful to avoid such a loop. This change avoids the
infinite loop, and does at least an SDCH backoff of support
when an infinite loop might otherwise be induced.
BUG=31271
r=kmixter
Review URL: http://codereview.chromium.org/518029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r-- | net/base/sdch_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index e6286f5..67ca5e5 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -120,7 +120,7 @@ class SdchManager { // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH. META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error. CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache. - PASSING_THROUGH_NON_SDCH = 76, // Non-html tagged as sdch but malformed. + PASSING_THROUGH_NON_SDCH = 76, // Tagged sdch but missing dictionary-hash. INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded. PASS_THROUGH_404_CODE = 78, // URL not found message passing through. |