GNOME Bugzilla – Bug 588551
queue2: download buffering fixes
Last modified: 2009-07-15 19:01:22 UTC
when queue2 is enabled for download buffering the following errors occur: - all input buffers and events are leaked - the estimation of the buffered amount of bytes is not handled correctly. The buffering bascially only happens at the start while queue2 should keep track of the distance between the read and write pointer
Created attachment 138402 [details] [review] possible patch a possible patch
commit 3886a83f0e846940c4561b1f09b06ddf0260adc7 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Jul 14 17:03:35 2009 +0200 queue2: fix leak and improve buffering Keep track of the max requested position and compare this to the write position in the temp file to get the current amount of buffered data. Fix memleak of all incomming buffers. Fixes #588551