GNOME Bugzilla – Bug 537380
[gnomevfssrc] Doesn't handle short reads properly
Last modified: 2008-07-29 12:36:46 UTC
Bug #536848 also applies to gnomevfssrc.
Created attachment 112409 [details] [review] loop over short reads
This looks fine, but it's not a regression - is it worth breaking freeze for? Opinions, please.
Well, it will fail the same way as for GIO when reading from a smb URI but OTOH nobody every reported this before so maybe random access is not used for smb in gnomevfssrc or something. I'd be fine with waiting after release
No regression, lets do after release. It basically restores the semantics of the pull_range, so that elements get what they asked for. Btw. its also needed when you have queue with levels in buffer counts to get what you ask for. We had huge buffer counts to 'ensure' that we get enough data in preroll because of this.
2008-07-29 Stefan Kost <ensonic@users.sf.net> * ext/gnomevfs/gstgnomevfssrc.c: Aggregate short reads and add some comments and debug logging. Fixes #537380