adaptivedemux2: Define RFC8673_LAST_BYTE_POS

Define the recommended value from RFC8673 for the last byte of an open-ended
range request intended to invoke chunked blocking downloads of an incrementally
created resource.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
Jan Schmidt 2022-10-13 05:15:17 +11:00 committed by GStreamer Marge Bot
parent 61516eadf6
commit 30bc72d6c7

View file

@ -32,6 +32,9 @@ typedef enum DownloadFlags DownloadFlags;
#define HTTP_STATUS_IS_SUCCESSFUL(s) ((s) >= 200 && (s) < 300)
/* RFC8673 recommended last-byte-pos value of 2^^53-1 */
#define RFC8673_LAST_BYTE_POS (9007199254740991)
enum DownloadFlags
{
DOWNLOAD_FLAG_NONE = 0,