souphttpsrc: don't update the size on error
authorMichael Olbrich <m.olbrich@pengutronix.de>
Sun, 10 Nov 2019 20:19:09 +0000 (21:19 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 10 Jul 2020 11:41:55 +0000 (11:41 +0000)
commitd4b50d79152c7ceead63342e0465a6d4c1518e7e
treee1a5edacab1288927821f35804a816fcd0515e28
parent88775c2e1824b2586651685047ce7c4cdae68fd2
souphttpsrc: don't update the size on error

Any data corresponding length in the message is not part of the requested
file.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/385>
ext/soup/gstsouphttpsrc.c