Commit 6385ae3c authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Enabled HTTP seek support when Accept-Ranges is present and contains "bytes".

parent b7fa4726
......@@ -1608,6 +1608,11 @@ static int Request( access_t *p_access, uint64_t i_tell )
if( AuthCheckReply( p_access, p, &p_sys->proxy, &p_sys->proxy_auth ) )
goto error;
}
else if( !strcasecmp( psz, "Accept-Ranges" ) )
{
if( !strcasecmp( p, "bytes" ) )
p_sys->b_seekable = true;
}
free( psz );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment