Re: [Development] Spurious downloadProgress signal with incorrect bytesTotal when loading from cache

2014-04-22 Thread Mandeep Sandhu
> On 04/11/2014 11:08 AM, Mandeep Sandhu wrote: >> >> Shouldn't these be having valid size values or is this expected >> behaviour for cached content? >> >> I guess the 1st signal (with incorrect size) being emitted is still a bug. > > > I think if the response comes from the cache the response alw

Re: [Development] Spurious downloadProgress signal with incorrect bytesTotal when loading from cache

2014-04-15 Thread Peter Hartmann
Hello, On 04/11/2014 11:08 AM, Mandeep Sandhu wrote: > Shouldn't these be having valid size values or is this expected > behaviour for cached content? > > I guess the 1st signal (with incorrect size) being emitted is still a bug. I think if the response comes from the cache the response always r

[Development] Spurious downloadProgress signal with incorrect bytesTotal when loading from cache

2014-04-11 Thread Mandeep Sandhu
Hi All, While testing something with Qt 5.2, I found that if the HTTP content was retrieved from cached after the _first_ time it was written to it, then we will receive 2 downloadProgress() signals. The 1st one has a bytesTotal value of -1 and bytesReceived of 0 (the 2nd signal has both these set