[Bug 753178] souphttpsrc: error when doing GET Range request with over content size
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Aug 3 05:51:33 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753178
--- Comment #1 from Eunhae Choi <eunhae1.choi at samsung.com> ---
Created attachment 308676
--> https://bugzilla.gnome.org/attachment.cgi?id=308676&action=edit
souphttpsrc: add exception handling of GET Range request
souphttpsrc allow to seek behind eos in gst_soup_http_src_do_seek so I added
additional handling about 416 and 200 header not to be handled as an error.
According to the rfc7233, 200 can be replied depends on server.
I've extracted it below.
4.4. 416 Range Not Satisfiable
...
Note: Because servers are free to ignore Range, many
implementations will simply respond with the entire selected
representation in a 200 (OK) response. That is partly because
most clients are prepared to receive a 200 (OK) to complete the
task (albeit less efficiently) and partly because clients might
not stop making an invalid partial request until they have
received a complete representation. Thus, clients cannot depend
on receiving a 416 (Range Not Satisfiable) response even when it
is most appropriate.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list