souphttpsrc: error out properly when receiving data along with an error status
authorNorbert Waschbuesch <nwaschbu@opentv.com>
Fri, 22 Jun 2012 21:56:52 +0000 (21:56 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 1 Jan 2013 19:11:42 +0000 (19:11 +0000)
commitc00b142f4482a58bf3409c3375c29e8f33948926
treefb2b39a7c77370fe947bc0848cc2edb12e9c6824
parentaa10487795ba97ec2c46a81be1fe2fd775c7da32
souphttpsrc: error out properly when receiving data along with an error status

When receiving an error code from the http server, such as 404,
data might be sent along with it, like a web page. We don't want
to output that data in this case, and we also want to pass the
FLOW_ERROR return back to the base class, so it can stop properly.

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