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

Sriram Neelakandan sriram.neelakandan at gmail.com
Wed Sep 22 04:24:32 PDT 2010


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wkt_qnrh.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100922/98faf7e0/attachment.bin>


More information about the webkit-qt mailing list