souphttpsrc: Only assume seekability if the server provides Content-Length
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 16 Jul 2009 17:35:44 +0000 (19:35 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 16 Jul 2009 17:35:44 +0000 (19:35 +0200)
commit226a12505683fdfc6e3fc403ed55fe8f8e56f470
tree273bda207c3b20b05176e3cb07293465b912d476
parent07c454d61ec014334812517e24aa694552dbe03d
souphttpsrc: Only assume seekability if the server provides Content-Length

Previously seekability way always assumed until the first seek actually
failed. Now we assume that all servers are not seekable unless they provide
a Content-Length header. If a seek fails after that we continue to
assume no seekability. Fixes bug #585576.
ext/soup/gstsouphttpsrc.c