souphttpsrc: Don't consider the content size from the HTTP headers as absolutely...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 4 May 2013 11:19:53 +0000 (13:19 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 4 May 2013 11:22:04 +0000 (13:22 +0200)
commitc43e7001ab57bb86d329a9bd1c95f37bed5c470b
treee077f73210141cd4f545ceb63e81ff420d2c4011
parent59d7d5c6bbb9dcd5a78213456241b31e9ec2d027
souphttpsrc: Don't consider the content size from the HTTP headers as absolutely correct

The HTTP server could give wrong information, e.g. if the HTTP stream is
chunk-encoded or compressed, or if the server does not know the complete size
at the time when the file is requested by the client.

Also see
https://bugs.webkit.org/show_bug.cgi?id=115354
ext/soup/gstsouphttpsrc.c