зеркало из https://github.com/mozilla/pjs.git
bugzilla 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG-- extra : rebase_source : 5c464f0b34fd6855f741809a81a12f5eec8d1e44
This commit is contained in:
Родитель
f8d3eae353
Коммит
5b8b7545a8
|
@ -266,7 +266,8 @@ nsHTTPCompressConv::OnDataAvailable(nsIRequest* request,
|
|||
|
||||
// stop an endless loop caused by non-deflate data being labelled as deflate
|
||||
if (mDummyStreamInitialised) {
|
||||
NS_ERROR("endless loop detected");
|
||||
NS_WARNING("endless loop detected"
|
||||
" - invalid deflate");
|
||||
return NS_ERROR_INVALID_CONTENT_ENCODING;
|
||||
}
|
||||
mDummyStreamInitialised = PR_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче