souphttpsrc: check range response when update content_size
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 20 Mar 2017 05:59:49 +0000 (14:59 +0900)
committereunhae choi <eunhae1.choi@samsung.com>
Tue, 21 Mar 2017 06:43:47 +0000 (23:43 -0700)
commitfaf4b5f160d8be8e4b9fc95f7f892417eef36ed7
treeda0c72dae8937af1a23287ed38f9cb68ad7f3e23
parent06469b883078710edec3eaccdc8fa05de6e77053
souphttpsrc: check range response when update content_size

In case request_position is content_size,
the response content_length can be zero with status code 200.
(reproduced in Youtube http streaming)

Change-Id: If28565375e0e13dc84054fd2383268467faf68aa
(cherry picked from commit 0ae443abd9066053d0412c28fe9d9afddc8488c8)
ext/soup/gstsouphttpsrc.c