[Bug 776720] souphttpsrc: no request retry on early server termination

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 26 13:10:48 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776720

--- Comment #11 from Arnaud Vrac <rawoul at gmail.com> ---
Hi Sebastian, after a quick look I haven't found a way to retrieve the read
position at the socket level, to be able to compare with the content size. I
also don't think we can differentiate between a normal end of stream and a
disconnection from the server because of a timeout server side.

So while I do agree there's an issue retrying "encoded" content, here are some
mitigation points:
 - this is the code that was in 1.8 with the same caveat
 - the "compress" property is false by default
 - input size is usually smaller than decoded size
 - there's a max number of retries, although it can be overriden to -1 for
infinite retries.

I'm not sure if that's enough to warrant inclusion in 1.10...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list