[webkit-qt] QNetworkReplyHandler forces Network response to be buffered for uploads

Sriram Neelakandan sriram.neelakandan at gmail.com
Wed Sep 22 04:30:45 PDT 2010


Re-sending .. did not realize the list would  scrub my patch

http://pastebin.com/w8Q5yXn4


On 9/22/10, Sriram Neelakandan <sriram.neelakandan at gmail.com> wrote:
> Dear list,
>
> Webkit's QNRHandler.cpp does not set up
> ContentLength and  QNetworkRequest::DoNotBufferUploadDataAttribute
> and eventually forces QNetworkReplyImpl to buffer up the data;
>
> This is not fine for uploading large files, since eventually systems
> it will run out of memory
> Here is a small patch that works around it.
> I will shortly report a bug at webkit.org
> But just wanted to check on the qt list if the changes look good ?
>
>
> --
> Sriram Neelakandan
> Author - Embedded Linux System Design And Development
> (http://tinyurl.com/2doosu)
>


-- 
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)


More information about the webkit-qt mailing list