Work around the Qt PUT corruption bug with Qt < 5.4.2 #2425
authorJocelyn Turcotte <jturcotte@woboq.com>
Mon, 27 Apr 2015 13:04:44 +0000 (15:04 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 May 2015 14:56:50 +0000 (16:56 +0200)
commita6500d80686b7b04aa0a9fbf2a3c084b99dda488
treeaec00b6e7b94deb953b0d7a3506b2f45dafd7e4c
parent0d5d2c578dca8318b86e0922aafdbac3f5a60fdf
Work around the Qt PUT corruption bug with Qt < 5.4.2 #2425

Since QNonContiguousByteDeviceThreadForwardImpl::reset will
call UploadDevice::reset with a BlockingQueuedConnection, this
allows us to reset the HTTP channel along with its buffers
before they get the chance to be reused with a subsequent request.
src/libsync/propagateupload.cpp
src/libsync/propagateupload.h