souphttpsrc: do not emit EOS when connection drops
authorThiago Santos <ts.santos@partner.samsung.com>
Mon, 7 Oct 2013 17:27:21 +0000 (14:27 -0300)
committerThiago Santos <ts.santos@partner.samsung.com>
Fri, 11 Oct 2013 19:10:16 +0000 (16:10 -0300)
commit856c07ea0084bf249103c2b58dc61f151c3d7c98
tree75050c9a5a50f51e2487c40ed09c40e50062c473
parentc65a8881f9f59168af685487e303d5dfcd588599
souphttpsrc: do not emit EOS when connection drops

If the pipeline is stalled for too long, souphttpsrc will block and
stop fetching data from the network. This can cause the connection to
drop and souphttpsrc would handle it as an EOS. This patch makes it
persist and try to fetch more data until the end of the content length
or until receiving an error that it is beyong limits in case the content
is unknown.

https://bugzilla.gnome.org/show_bug.cgi?id=683536
ext/soup/gstsouphttpsrc.c
ext/soup/gstsouphttpsrc.h