зеркало из https://github.com/mozilla/pjs.git
bug 119346 1k -> 4k buffers r=harishd,blizzard sr=waterson a=blizzard
This commit is contained in:
Родитель
e45f8c2b70
Коммит
089654913c
|
@ -1305,7 +1305,7 @@ nsXBLService::FetchBindingDocument(nsIContent* aBoundElement, nsIDocument* aBoun
|
|||
listener->OnStartRequest(request, nsnull);
|
||||
|
||||
while (PR_TRUE) {
|
||||
char buf[1024];
|
||||
char buf[4096];
|
||||
PRUint32 readCount;
|
||||
|
||||
if (NS_FAILED(rv = in->Read(buf, sizeof(buf), &readCount)))
|
||||
|
|
|
@ -585,7 +585,7 @@ RDFXMLDataSourceImpl::BlockingParse(nsIURI* aURL, nsIStreamListener* aConsumer)
|
|||
|
||||
aConsumer->OnStartRequest(request, nsnull);
|
||||
while (PR_TRUE) {
|
||||
char buf[1024];
|
||||
char buf[4096];
|
||||
PRUint32 readCount;
|
||||
|
||||
if (NS_FAILED(rv = in->Read(buf, sizeof(buf), &readCount)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче