зеркало из https://github.com/mozilla/gecko-dev.git
Bug 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG-- extra : rebase_source : 14dbf0bc5cd5acbc1c525f7c8f19282c494e24f7
This commit is contained in:
Родитель
6985fe57fb
Коммит
0269c0b807
|
@ -264,7 +264,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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче