2010-10-04 Sriram Neelakandan <sriram.neelakandan@gmail.com> qtwebkit-2.1.x-week17
authorcommit-queue <commit-queue@webkit.org>
Tue, 5 Oct 2010 04:16:20 +0000 (04:16 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 29 Apr 2011 14:22:34 +0000 (11:22 -0300)
commit2bb9aafaa8cc3a2ff7e3e16327cb710bc6692a1e
treedc8f48221cb33445341d55d0f7cb7b3f9a008c30
parentc56e63a70e7186cd056b192f8a0056f6ed3bc84d
2010-10-04  Sriram Neelakandan  <sriram.neelakandan@gmail.com>

        Reviewed by Andreas Kling.

        [Qt] QNetworkReplyHandler forces buffered output for FormData with files
        https://bugs.webkit.org/show_bug.cgi?id=46259

        No new tests. Existing form submit tests should cover this change.

        * platform/network/qt/QNetworkReplyHandler.cpp:
        (WebCore::FormDataIODevice::FormDataIODevice):
        (WebCore::FormDataIODevice::computeSize):
         Add computeSize() for computing form device size
        (WebCore::QNetworkReplyHandler::start):
         Call computeSize(), fill Content-Length and prevent UploadData buffering
        * platform/network/qt/QNetworkReplyHandler.h:
        (WebCore::FormDataIODevice::getFormDataSize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/qt/QNetworkReplyHandler.cpp
WebCore/platform/network/qt/QNetworkReplyHandler.h